summaryrefslogtreecommitdiff
path: root/cui/uiconfig/ui/effectspage.ui
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2019-11-22 17:12:04 +0100
committerMiklos Vajna <vmiklos@collabora.com>2019-11-22 18:33:39 +0100
commitb4554b8eddd048532269df610e89ae739c46fab7 (patch)
treec373507b685e09ae4f2253274f9175f291650c0d /cui/uiconfig/ui/effectspage.ui
parente227d96bbc500afd810064eee64175b800bfc11f (diff)
cui: add UI for semi-transparent shape text
- Make font color only work with the RGB color, otherwise the preview would be white for e.g. half-transparent red. - Add label and widget to see already set transparency. - Add a flag to show these only for Draw/Impress and leave Writer/Calc unchanged. - Update returned item set to contain transparency in case the widget changes. Change-Id: If77771076ff4b10a4a5d468a6583809a94deb57e Reviewed-on: https://gerrit.libreoffice.org/83520 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'cui/uiconfig/ui/effectspage.ui')
-rw-r--r--cui/uiconfig/ui/effectspage.ui30
1 files changed, 30 insertions, 0 deletions
diff --git a/cui/uiconfig/ui/effectspage.ui b/cui/uiconfig/ui/effectspage.ui
index 9a5cb1a89fe1..581b28912c16 100644
--- a/cui/uiconfig/ui/effectspage.ui
+++ b/cui/uiconfig/ui/effectspage.ui
@@ -585,6 +585,31 @@
</packing>
</child>
<child>
+ <object class="GtkLabel" id="fonttransparencyft">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes" context="effectspage|fonttransparencyft">_Transparency:</property>
+ <property name="use_underline">True</property>
+ <property name="mnemonic_widget">fonttransparencymtr</property>
+ </object>
+ <packing>
+ <property name="left_attach">0</property>
+ <property name="top_attach">2</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkSpinButton" id="fonttransparencymtr">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="activates_default">True</property>
+ <property name="adjustment">adjustmentPercent</property>
+ </object>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="top_attach">2</property>
+ </packing>
+ </child>
+ <child>
<placeholder/>
</child>
</object>
@@ -636,4 +661,9 @@
<widget name="fontcolorlb"/>
</widgets>
</object>
+ <object class="GtkAdjustment" id="adjustmentPercent">
+ <property name="upper">100</property>
+ <property name="step_increment">1</property>
+ <property name="page_increment">10</property>
+ </object>
</interface>