summaryrefslogtreecommitdiffstats
path: root/src/Runtime/res
diff options
context:
space:
mode:
authorTomi Korpipaa <tomi.korpipaa@qt.io>2018-11-12 09:04:39 +0200
committerTomi Korpipää <tomi.korpipaa@qt.io>2018-11-15 11:57:49 +0000
commit4e97e4edc636b306eb1009cc5c6c189d78ae7774 (patch)
treeaf989e2f266b501ccd8f41efc8d7bb2f9bdf9c5e /src/Runtime/res
parentbe9c89bafba4a06a28aa4f6b8961007dbc7e0011 (diff)
Add drop-shadow support to text elements
Task-number: QT3DS-2644 Change-Id: Ia2dbb52eb556bc8533b9b69862ea7b4c2432f225 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> Reviewed-by: Antti Määttä <antti.maatta@qt.io> Reviewed-by: Janne Kangas <janne.kangas@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Diffstat (limited to 'src/Runtime/res')
-rw-r--r--src/Runtime/res/DataModelMetadata/en-us/MetaData.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Runtime/res/DataModelMetadata/en-us/MetaData.xml b/src/Runtime/res/DataModelMetadata/en-us/MetaData.xml
index f7cf465f..7fb4fb02 100644
--- a/src/Runtime/res/DataModelMetadata/en-us/MetaData.xml
+++ b/src/Runtime/res/DataModelMetadata/en-us/MetaData.xml
@@ -453,5 +453,10 @@
<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="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" />
+ <Property name="dropshadowhorzalign" formalName="Horizontal Position" description="Horizontal position of the shadow" list="Left:Center:Right" default="Right" />
+ <Property name="dropshadowvertalign" formalName="Vertical Position" description="Vertical position of the shadow" list="Top:Middle:Bottom" default="Bottom" />
</Text>
</MetaData>