Skip to content

Commit

Permalink
fixed textslots whiteSpace property patch schema
Browse files Browse the repository at this point in the history
  • Loading branch information
ishubin committed Dec 3, 2023
1 parent 24590c1 commit 3770bc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/scheme/Item.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const textSlotProperties = [
{field: 'halign', name: 'Horizontal Align', type: 'choice', options: ['left', 'center', 'right']},
{field: 'valign', name: 'Vertical Align', type: 'choice', options: ['top', 'middle', 'bottom']},
{field: 'fontSize', name: 'Font Size', type: 'number'},
{field: 'whiteSpace', name: 'White Space', type: 'choice', options: textWhiteSpaceOptions},
{field: 'whiteSpace', name: 'White Space', type: 'choice', options: textWhiteSpaceOptions.map(x => x.value)},
{field: 'font', name: 'Font', type: 'choice', options: map(getAllFonts(), font => font.name)},
{field: 'paddingLeft', name: 'Padding Left', type: 'number'},
{field: 'paddingRight', name: 'Padding Right', type: 'number'},
Expand Down

0 comments on commit 3770bc1

Please sign in to comment.