diff options
author | Rishabh Kumar <kris.kr296@gmail.com> | 2015-08-23 00:34:17 +0530 |
---|---|---|
committer | Katarina Behrens <Katarina.Behrens@cib.de> | 2015-08-26 14:14:15 +0000 |
commit | 489582458a03aaf25ddc83ae5e4416bbe236991d (patch) | |
tree | 734b00be3285f44efc35e63cb2b96815046435be /svx/uiconfig/ui | |
parent | be95c7430d2fd9858f41ee8e8882d987a5bbe749 (diff) |
tdf#90078: Improve the Area section of the properties tab
Addition of new controls to gradient mode and area tab reorganisation
Change-Id: I5c122705c41e14cddc2eaaac2561c02df22574f2
Reviewed-on: https://gerrit.libreoffice.org/16965
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
Tested-by: Katarina Behrens <Katarina.Behrens@cib.de>
Diffstat (limited to 'svx/uiconfig/ui')
-rw-r--r-- | svx/uiconfig/ui/sidebararea.ui | 231 |
1 files changed, 153 insertions, 78 deletions
diff --git a/svx/uiconfig/ui/sidebararea.ui b/svx/uiconfig/ui/sidebararea.ui index 708533c726a6..5321824dde9e 100644 --- a/svx/uiconfig/ui/sidebararea.ui +++ b/svx/uiconfig/ui/sidebararea.ui @@ -4,11 +4,15 @@ <requires lib="gtk+" version="3.0"/> <requires lib="LibreOffice" version="1.0"/> <object class="GtkAdjustment" id="adjustment1"> - <property name="lower">0</property> <property name="upper">100</property> <property name="step_increment">1</property> <property name="page_increment">10</property> </object> + <object class="GtkAdjustment" id="adjustment2"> + <property name="upper">360</property> + <property name="step_increment">1</property> + <property name="page_increment">10</property> + </object> <object class="GtkGrid" id="AreaPropertyPanel"> <property name="visible">True</property> <property name="can_focus">False</property> @@ -38,7 +42,6 @@ <property name="xalign">0</property> <property name="label" translatable="yes">_Fill:</property> <property name="use_underline">True</property> - <property name="mnemonic_widget">fillstyle</property> </object> <packing> <property name="left_attach">0</property> @@ -46,21 +49,6 @@ </packing> </child> <child> - <object class="svxlo-SvxFillTypeBox" id="fillstyle"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="has_tooltip">True</property> - <property name="tooltip_markup" translatable="yes">Select the fill type to apply.</property> - <property name="tooltip_text" translatable="yes">Select the fill type to apply.</property> - <property name="entry_text_column">0</property> - <property name="id_column">1</property> - </object> - <packing> - <property name="left_attach">0</property> - <property name="top_attach">1</property> - </packing> - </child> - <child> <object class="GtkBox" id="box8"> <property name="visible">True</property> <property name="can_focus">False</property> @@ -99,11 +87,25 @@ <property name="tooltip_text" translatable="yes">Select the effect to apply.</property> </object> <packing> - <property name="expand">False</property> + <property name="expand">True</property> <property name="fill">True</property> <property name="position">1</property> </packing> </child> + <child> + <object class="svxlo-ColorLB" id="fillgrad1"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="has_tooltip">True</property> + <property name="tooltip_markup" translatable="yes">Fill gradient from.</property> + <property name="tooltip_text" translatable="yes">Fill gradient from.</property> + </object> + <packing> + <property name="expand">True</property> + <property name="fill">True</property> + <property name="position">2</property> + </packing> + </child> </object> <packing> <property name="left_attach">1</property> @@ -111,20 +113,45 @@ </packing> </child> <child> - <object class="GtkLabel" id="transparencylabel"> + <object class="svxlo-SvxFillTypeBox" id="fillstyle"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="has_tooltip">True</property> - <property name="tooltip_markup" translatable="yes">Transparency</property> - <property name="tooltip_text" translatable="yes">Transparency</property> - <property name="xalign">0</property> - <property name="label" translatable="yes">_Transparency:</property> - <property name="use_underline">True</property> - <property name="mnemonic_widget">transtype</property> + <property name="tooltip_markup" translatable="yes">Select the fill type to apply.</property> + <property name="tooltip_text" translatable="yes">Select the fill type to apply.</property> + <property name="entry_text_column">0</property> + <property name="id_column">1</property> </object> <packing> - <property name="left_attach">0</property> - <property name="top_attach">2</property> + <property name="left_attach">1</property> + <property name="top_attach">0</property> + </packing> + </child> + <child> + <object class="GtkToolbar" id="selectgradient"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="halign">end</property> + <child> + <object class="GtkMenuToolButton" id="gradient"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="has_tooltip">True</property> + <property name="tooltip_markup" translatable="yes">Specify the variation of gradient transparency.</property> + <property name="tooltip_text" translatable="yes">Specify the variation of gradient transparency.</property> + <property name="hexpand">True</property> + <property name="action_name">.uno:sidebargradient</property> + <property name="use_underline">True</property> + </object> + <packing> + <property name="expand">True</property> + <property name="homogeneous">True</property> + </packing> + </child> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">4</property> </packing> </child> <child> @@ -146,70 +173,71 @@ </items> </object> <packing> + <property name="left_attach">1</property> + <property name="top_attach">3</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="transparencylabel"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="has_tooltip">True</property> + <property name="tooltip_markup" translatable="yes">Transparency</property> + <property name="tooltip_text" translatable="yes">Transparency</property> + <property name="xalign">0</property> + <property name="label" translatable="yes">_Transparency:</property> + <property name="use_underline">True</property> + </object> + <packing> <property name="left_attach">0</property> <property name="top_attach">3</property> </packing> </child> <child> - <object class="GtkBox" id="box9"> + <object class="svxlo-ColorLB" id="fillgrad2"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="hexpand">True</property> - <child> - <object class="GtkToolbar" id="selectgradient"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <child> - <object class="GtkMenuToolButton" id="gradient"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="has_tooltip">True</property> - <property name="tooltip_markup" translatable="yes">Specify the variation of gradient transparency.</property> - <property name="tooltip_text" translatable="yes">Specify the variation of gradient transparency.</property> - <property name="action_name">.uno:sidebargradient</property> - <property name="use_underline">True</property> - </object> - <packing> - <property name="expand">True</property> - <property name="homogeneous">True</property> - </packing> - </child> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">0</property> - </packing> - </child> - <child> - <object class="GtkSpinButton" id="settransparency:0%"> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="has_tooltip">True</property> - <property name="tooltip_markup" translatable="yes">Specify 0% for fully opaque through 100% for fully transparent.</property> - <property name="tooltip_text" translatable="yes">Specify 0% for fully opaque through 100% for fully transparent.</property> - <property name="hexpand">True</property> - <property name="max_length">100</property> - <property name="invisible_char">•</property> - <property name="adjustment">adjustment1</property> - <property name="secondary_icon_activatable">False</property> - <property name="climb_rate">5</property> - <property name="numeric">True</property> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">1</property> - </packing> - </child> + <property name="has_tooltip">True</property> + <property name="tooltip_markup" translatable="yes">Fill gradient to.</property> + <property name="tooltip_text" translatable="yes">Fill gradient to.</property> </object> <packing> <property name="left_attach">1</property> - <property name="top_attach">3</property> + <property name="top_attach">2</property> </packing> </child> <child> - <placeholder/> + <object class="GtkSpinButton" id="gradangle:0degrees"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="adjustment">adjustment2</property> + <property name="tooltip_markup" translatable="yes">Select the gradient angle.</property> + <property name="tooltip_text" translatable="yes">Select the gradient angle.</property> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">2</property> + </packing> + </child> + <child> + <object class="GtkComboBoxText" id="gradientstyle"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <items> + <item translatable="yes">Linear</item> + <item translatable="yes">Axial</item> + <item translatable="yes">Radial</item> + <item translatable="yes">Ellipsoid</item> + <item translatable="yes">Quadratic</item> + <item translatable="yes">Square</item> + </items> + <property name="tooltip_markup" translatable="yes">Select the gradient style.</property> + <property name="tooltip_text" translatable="yes">Select the gradient style.</property> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">1</property> + </packing> </child> <child> <placeholder/> @@ -221,6 +249,53 @@ <property name="position">0</property> </packing> </child> + <child> + <object class="GtkGrid" id="grid1"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="column_spacing">6</property> + <child> + <object class="GtkScale" id="transparencyslider"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="hexpand">True</property> + <property name="round_digits">1</property> + <property name="draw_value">False</property> + <property name="tooltip_markup" translatable="yes">Specify 0% for fully opaque through 100% for fully transparent.</property> + <property name="tooltip_text" translatable="yes">Specify 0% for fully opaque through 100% for fully transparent.</property> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">0</property> + <property name="width">3</property> + </packing> + </child> + <child> + <object class="GtkSpinButton" id="settransparency:0%"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="has_tooltip">True</property> + <property name="tooltip_markup" translatable="yes">Specify 0% for fully opaque through 100% for fully transparent.</property> + <property name="tooltip_text" translatable="yes">Specify 0% for fully opaque through 100% for fully transparent.</property> + <property name="max_length">100</property> + <property name="invisible_char">•</property> + <property name="secondary_icon_activatable">False</property> + <property name="adjustment">adjustment1</property> + <property name="climb_rate">5</property> + <property name="numeric">True</property> + </object> + <packing> + <property name="left_attach">3</property> + <property name="top_attach">0</property> + </packing> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> </object> <packing> <property name="left_attach">0</property> |