mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-22 09:35:37 -05:00
Adding lists support in text component (#17065)
* Adding lists support in text component * Fixing get textType * Code cleanup * Combining values into value
This commit is contained in:
@@ -170,14 +170,14 @@ export class DashboardWidget {
|
||||
|
||||
const migrateButton = this.createTaskButton(view, migrateButtonMetadata);
|
||||
|
||||
const points = `• ${loc.PRE_REQ_1}
|
||||
• ${loc.PRE_REQ_2}
|
||||
• ${loc.PRE_REQ_3}`;
|
||||
|
||||
const preRequisiteListElement = view.modelBuilder.text().withProps({
|
||||
value: points,
|
||||
value: [
|
||||
loc.PRE_REQ_1,
|
||||
loc.PRE_REQ_2,
|
||||
loc.PRE_REQ_3
|
||||
],
|
||||
CSSStyles: {
|
||||
'padding-left': '15px',
|
||||
'padding-left': '30px',
|
||||
'margin-bottom': '5px',
|
||||
'margin-top': '10px'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user