Skip to content

Commit

Permalink
Fix #2858 change label for annotations text style (#2860)
Browse files Browse the repository at this point in the history
  • Loading branch information
MV88 authored May 16, 2018
1 parent 51dda97 commit e4f24bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/client/components/style/TextStyler.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class TextStyler extends React.Component {
styleType: "Text",
uomValues: [{value: "px"}, {value: "em"}],
fontWeightValues: [{value: "normal"}, {value: "bold"}],
alignValues: [{value: "start"}, {value: "center"}, {value: "end"}],
alignValues: [{value: "start", label: "left"}, {value: "center", label: "center"}, {value: "end", label: "right"}],
fontStyleValues: [{value: "normal"}, {value: "italic"}],
fontFamilyValues: [{value: "Arial"}, {value: "FontAwesome"}, {value: "Courier"}],
shapeStyle: {},
Expand Down Expand Up @@ -164,7 +164,7 @@ class TextStyler extends React.Component {
<Col xs={6} style={{position: 'static'}}>
<Combobox
value={style.textAlign || "center"}
textField="value"
textField="label"
valueField="value"
messages={messages}
data={this.props.alignValues}
Expand Down

0 comments on commit e4f24bf

Please sign in to comment.