diff options
| author | bobzel <zzzman@gmail.com> | 2023-06-06 22:24:55 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2023-06-06 22:24:55 -0400 |
| commit | 3a70c915f3f2b64de72ac7cdff316184cb12db53 (patch) | |
| tree | c9ed9a19228400458ded9adb746d76b4840c5ea6 /src/client/views/nodes/LabelBox.tsx | |
| parent | 9accdb19ea34240ad2c7739ea72e51aeaae2a77b (diff) | |
updated text properties to be prefixed with field 'text_'
Diffstat (limited to 'src/client/views/nodes/LabelBox.tsx')
| -rw-r--r-- | src/client/views/nodes/LabelBox.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/nodes/LabelBox.tsx b/src/client/views/nodes/LabelBox.tsx index 32026ea9c..73823041c 100644 --- a/src/client/views/nodes/LabelBox.tsx +++ b/src/client/views/nodes/LabelBox.tsx @@ -130,9 +130,9 @@ export class LabelBox extends ViewBoxBaseComponent<FieldViewProps & LabelBoxProp className="labelBox-mainButton" style={{ backgroundColor: this.hoverColor, - fontSize: StrCast(this.layoutDoc._fontSize), + fontSize: StrCast(this.layoutDoc._text_fontSize), color: StrCast(this.layoutDoc._color), - fontFamily: StrCast(this.layoutDoc._fontFamily) || 'inherit', + fontFamily: StrCast(this.layoutDoc._text_fontFamily) || 'inherit', letterSpacing: StrCast(this.layoutDoc.letterSpacing), textTransform: StrCast(this.layoutDoc.textTransform) as any, paddingLeft: NumCast(this.rootDoc._xPadding), |
