Kaydet (Commit) 8eb89bc4 authored tarafından Jan Holesovsky's avatar Jan Holesovsky

sidebar: Make the Page panel more minimalistic.

Change-Id: Ic0a731142efc57ad0b6ba450188fff4108867f92
üst 2825635d
...@@ -14,111 +14,59 @@ ...@@ -14,111 +14,59 @@
<property name="border_width">6</property> <property name="border_width">6</property>
<property name="row_spacing">6</property> <property name="row_spacing">6</property>
<property name="column_spacing">6</property> <property name="column_spacing">6</property>
<property name="column_homogeneous">True</property>
<child> <child>
<object class="GtkBox" id="box6"> <object class="GtkToolbar" id="selectorientation">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="orientation">vertical</property> <property name="halign">center</property>
<property name="spacing">6</property>
<child> <child>
<object class="GtkLabel" id="columnlabel"> <object class="GtkMenuToolButton" id="orientation">
<property name="use_action_appearance">False</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="xalign">0</property> <property name="has_tooltip">True</property>
<property name="label" translatable="yes">_Column:</property> <property name="tooltip_text" translatable="yes">Orientation</property>
<property name="use_action_appearance">False</property>
<property name="action_name">.uno:Orientation</property>
<property name="label" translatable="yes">toolbutton1</property>
<property name="use_underline">True</property> <property name="use_underline">True</property>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
<property name="fill">True</property> <property name="homogeneous">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkToolbar" id="selectcolumn">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="show_arrow">False</property>
<child>
<object class="GtkMenuToolButton" id="column">
<property name="use_action_appearance">False</property>
<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 layout and the number of columns for the current page style.</property>
<property name="tooltip_text" translatable="yes">Select the layout and the number of columns for the current page style.</property>
<property name="use_action_appearance">False</property>
<property name="action_name">.uno:Column</property>
<property name="label" translatable="yes">toolbutton4</property>
<property name="use_underline">True</property>
</object>
<packing>
<property name="expand">False</property>
<property name="homogeneous">True</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing> </packing>
</child> </child>
</object> </object>
<packing> <packing>
<property name="left_attach">2</property> <property name="left_attach">1</property>
<property name="top_attach">1</property> <property name="top_attach">0</property>
<property name="width">1</property> <property name="width">1</property>
<property name="height">1</property> <property name="height">1</property>
</packing> </packing>
</child> </child>
<child> <child>
<object class="GtkBox" id="box2"> <object class="GtkToolbar" id="selectsize">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="orientation">vertical</property> <property name="tooltip_text" translatable="yes">Size</property>
<property name="spacing">6</property> <property name="show_arrow">False</property>
<child> <child>
<object class="GtkLabel" id="orientationlabel"> <object class="GtkMenuToolButton" id="size">
<property name="use_action_appearance">False</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="xalign">0</property> <property name="has_tooltip">True</property>
<property name="label" translatable="yes">_Orientation:</property> <property name="tooltip_markup" translatable="yes">Select a predefined paper size for the current page style.</property>
<property name="tooltip_text" translatable="yes">Select a predefined paper size for the current page style.</property>
<property name="use_action_appearance">False</property>
<property name="action_name">.uno:Size</property>
<property name="label" translatable="yes">toolbutton3</property>
<property name="use_underline">True</property> <property name="use_underline">True</property>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
<property name="fill">True</property> <property name="homogeneous">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkToolbar" id="selectorientation">
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
<object class="GtkMenuToolButton" id="orientation">
<property name="use_action_appearance">False</property>
<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 paper orientation - vertically (portrait) or horizontally (landscape) - for the current page style.</property>
<property name="tooltip_text" translatable="yes">Select the paper orientation - vertically (portrait) or horizontally (landscape) - for the current page style.</property>
<property name="use_action_appearance">False</property>
<property name="action_name">.uno:Orientation</property>
<property name="label" translatable="yes">toolbutton1</property>
<property name="use_underline">True</property>
</object>
<packing>
<property name="expand">False</property>
<property name="homogeneous">True</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing> </packing>
</child> </child>
</object> </object>
...@@ -130,109 +78,58 @@ ...@@ -130,109 +78,58 @@
</packing> </packing>
</child> </child>
<child> <child>
<object class="GtkBox" id="box5"> <object class="GtkToolbar" id="selectcolumn">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="orientation">vertical</property> <property name="halign">end</property>
<property name="spacing">6</property> <property name="show_arrow">False</property>
<child> <child>
<object class="GtkLabel" id="sizelabel"> <object class="GtkMenuToolButton" id="column">
<property name="use_action_appearance">False</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="xalign">0</property> <property name="has_tooltip">True</property>
<property name="label" translatable="yes">_Size:</property> <property name="tooltip_text" translatable="yes">Columns</property>
<property name="use_action_appearance">False</property>
<property name="action_name">.uno:Column</property>
<property name="label" translatable="yes">toolbutton4</property>
<property name="use_underline">True</property> <property name="use_underline">True</property>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
<property name="fill">True</property> <property name="homogeneous">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkToolbar" id="selectsize">
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
<object class="GtkMenuToolButton" id="size">
<property name="use_action_appearance">False</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="has_tooltip">True</property>
<property name="tooltip_markup" translatable="yes">Select a predefined paper size for the current page style.</property>
<property name="tooltip_text" translatable="yes">Select a predefined paper size for the current page style.</property>
<property name="use_action_appearance">False</property>
<property name="action_name">.uno:Size</property>
<property name="label" translatable="yes">toolbutton3</property>
<property name="use_underline">True</property>
</object>
<packing>
<property name="expand">False</property>
<property name="homogeneous">True</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing> </packing>
</child> </child>
</object> </object>
<packing> <packing>
<property name="left_attach">0</property> <property name="left_attach">3</property>
<property name="top_attach">1</property> <property name="top_attach">0</property>
<property name="width">1</property> <property name="width">1</property>
<property name="height">1</property> <property name="height">1</property>
</packing> </packing>
</child> </child>
<child> <child>
<object class="GtkBox" id="box1"> <object class="GtkToolbar" id="selectmargin">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="orientation">vertical</property> <property name="tooltip_text" translatable="yes">Margin</property>
<property name="spacing">6</property> <property name="halign">center</property>
<child> <child>
<object class="GtkLabel" id="marginlabel"> <object class="GtkMenuToolButton" id="margin">
<property name="use_action_appearance">False</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="xalign">0</property> <property name="has_tooltip">True</property>
<property name="label" translatable="yes">_Margin:</property> <property name="tooltip_markup" translatable="yes">Select the margin values for the current page style.</property>
<property name="tooltip_text" translatable="yes">Select the margin values for the current page style.</property>
<property name="use_action_appearance">False</property>
<property name="action_name">.uno:Margin</property>
<property name="label" translatable="yes">toolbutton2</property>
<property name="use_underline">True</property> <property name="use_underline">True</property>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
<property name="fill">True</property> <property name="homogeneous">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkToolbar" id="selectmargin">
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
<object class="GtkMenuToolButton" id="margin">
<property name="use_action_appearance">False</property>
<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 margin values for the current page style.</property>
<property name="tooltip_text" translatable="yes">Select the margin values for the current page style.</property>
<property name="use_action_appearance">False</property>
<property name="action_name">.uno:Margin</property>
<property name="label" translatable="yes">toolbutton2</property>
<property name="use_underline">True</property>
</object>
<packing>
<property name="expand">False</property>
<property name="homogeneous">True</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing> </packing>
</child> </child>
</object> </object>
...@@ -243,22 +140,6 @@ ...@@ -243,22 +140,6 @@
<property name="height">1</property> <property name="height">1</property>
</packing> </packing>
</child> </child>
<child>
<placeholder/>
</child>
<child>
<object class="GtkLabel" id="label1">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="hexpand">True</property>
</object>
<packing>
<property name="left_attach">1</property>
<property name="top_attach">0</property>
<property name="width">1</property>
<property name="height">1</property>
</packing>
</child>
</object> </object>
<packing> <packing>
<property name="left_attach">0</property> <property name="left_attach">0</property>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment