diff options
author | Tomi Korpipaa <tomi.korpipaa@qt.io> | 2018-11-21 12:55:24 +0200 |
---|---|---|
committer | Tomi Korpipää <tomi.korpipaa@qt.io> | 2018-11-26 06:00:07 +0000 |
commit | d53d85e208b5c400142f0389ef16f073229af908 (patch) | |
tree | 1db06622f9a5a48f68089c80358061599378aa6d /src/Runtime/res/DataModelMetadata | |
parent | 8f9519aa3b2b4aba0ec585b2e2d193fcb23c8a0d (diff) |
Add support for fixed size text areas
Task-number: QT3DS-2110
Change-Id: I5383303b089d5c6572120a4e4f7731d0c9b35ded
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Diffstat (limited to 'src/Runtime/res/DataModelMetadata')
-rw-r--r-- | src/Runtime/res/DataModelMetadata/en-us/MetaData.xml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Runtime/res/DataModelMetadata/en-us/MetaData.xml b/src/Runtime/res/DataModelMetadata/en-us/MetaData.xml index 7fb4fb02..35da1aee 100644 --- a/src/Runtime/res/DataModelMetadata/en-us/MetaData.xml +++ b/src/Runtime/res/DataModelMetadata/en-us/MetaData.xml @@ -453,6 +453,8 @@ <Property name="vertalign" formalName="Vertical Alignment" description="Vertical Alignment" list="Top:Middle:Bottom" default="Middle" /> <Property name="leading" formalName="Leading" description="Leading" /> <Property name="tracking" formalName="Tracking" description="Tracking" /> + <Property name="boundingbox" formalName="Text Area" description="Fixed size text area. If not set,\ntext area grows with text." type="Float2" default="0 0" /> + <Property name="wordwrap" formalName="Word Wrapping" description="Word wrapping. Has effect only if fixed size\ntext area is used.\nClip: Cut text if it does not fit.\nWrapWord: Wrap between words, if possible.\nWrapAnywhere: Wrap even in the middle\nof words." list="Clip:WrapWord:WrapAnywhere" default="WrapWord" /> <Property name="dropshadow" formalName="Drop-Shadow" description="Add a drop-shadow to the text.\nThe shadow is a darker shade of the given color." type="Boolean" default="False" /> <Property name="dropshadowstrength" formalName="Shadow Darkness" description="Darkness of the shadow in percents.\n100 is black, 0 is the same color as the text." min="0" max="100" type="Float" default="80" /> <Property name="dropshadowoffset" formalName="Shadow Offset" description="Offset of the shadow. It\nis relative to the font size." min="1" max="100" type="Float" default="10" /> |