summaryrefslogtreecommitdiff
path: root/svx/uiconfig/ui
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-12-22 17:08:01 +0000
committerCaolán McNamara <caolanm@redhat.com>2020-04-24 17:48:00 +0200
commit16309a9516c1f173056fc103c6428e74217c7927 (patch)
treea9c469560345db2047857836cb708971112471a3 /svx/uiconfig/ui
parent1d23ff22c112f5b2bac23d9329a72c399007bf98 (diff)
weld StylesPropertyPanel
and SvxStyleToolBoxControl, etc. use a GtkOverlay to support the submenu hackery in the Style wysiwyg combobox dropdown Change-Id: I17baa56f382243070ee49e6d707e97324e4f4d67 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/85720 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svx/uiconfig/ui')
-rw-r--r--svx/uiconfig/ui/applystylebox.ui30
-rw-r--r--svx/uiconfig/ui/sidebarlists.ui2
-rw-r--r--svx/uiconfig/ui/sidebarparagraph.ui2
-rw-r--r--svx/uiconfig/ui/sidebarstylespanel.ui55
4 files changed, 59 insertions, 30 deletions
diff --git a/svx/uiconfig/ui/applystylebox.ui b/svx/uiconfig/ui/applystylebox.ui
new file mode 100644
index 000000000000..3dcd64bb1e16
--- /dev/null
+++ b/svx/uiconfig/ui/applystylebox.ui
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Generated with glade 3.22.2 -->
+<interface domain="svx">
+ <requires lib="gtk+" version="3.18"/>
+ <object class="GtkBox" id="ApplyStyleBox">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="hexpand">True</property>
+ <property name="spacing">6</property>
+ <child>
+ <object class="GtkComboBoxText" id="applystyle">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="hexpand">True</property>
+ <property name="has_entry">True</property>
+ <property name="popup_fixed_width">False</property>
+ <child internal-child="entry">
+ <object class="GtkEntry">
+ <property name="can_focus">True</property>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ </object>
+</interface>
diff --git a/svx/uiconfig/ui/sidebarlists.ui b/svx/uiconfig/ui/sidebarlists.ui
index 2f2806459acd..3937f21c4b30 100644
--- a/svx/uiconfig/ui/sidebarlists.ui
+++ b/svx/uiconfig/ui/sidebarlists.ui
@@ -26,7 +26,6 @@
<object class="GtkMenuToolButton" id=".uno:DefaultBullet">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="is_important">True</property>
<property name="use_underline">True</property>
</object>
<packing>
@@ -38,7 +37,6 @@
<object class="GtkMenuToolButton" id=".uno:DefaultNumbering">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="is_important">True</property>
<property name="use_underline">True</property>
</object>
<packing>
diff --git a/svx/uiconfig/ui/sidebarparagraph.ui b/svx/uiconfig/ui/sidebarparagraph.ui
index ce0b0dda1379..49d18aef5dc6 100644
--- a/svx/uiconfig/ui/sidebarparagraph.ui
+++ b/svx/uiconfig/ui/sidebarparagraph.ui
@@ -627,7 +627,6 @@
<object class="GtkMenuToolButton" id=".uno:DefaultBullet">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="is_important">True</property>
<property name="use_underline">True</property>
</object>
<packing>
@@ -639,7 +638,6 @@
<object class="GtkMenuToolButton" id=".uno:DefaultNumbering">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="is_important">True</property>
<property name="use_underline">True</property>
</object>
<packing>
diff --git a/svx/uiconfig/ui/sidebarstylespanel.ui b/svx/uiconfig/ui/sidebarstylespanel.ui
index a4955472f50d..7e87f0ae4091 100644
--- a/svx/uiconfig/ui/sidebarstylespanel.ui
+++ b/svx/uiconfig/ui/sidebarstylespanel.ui
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!-- Generated with glade 3.18.3 -->
+<!-- Generated with glade 3.22.2 -->
<interface domain="svx">
<requires lib="gtk+" version="3.18"/>
<object class="GtkGrid" id="SidebarStylesPanel">
@@ -21,19 +21,35 @@
<property name="hexpand">True</property>
<property name="orientation">vertical</property>
<child>
- <object class="sfxlo-SidebarToolBox" id="fontstyletoolbox">
+ <object class="GtkToolbar" id="fontstyletoolbox">
<property name="visible">True</property>
<property name="can_focus">True</property>
+ <property name="hexpand">True</property>
+ <property name="toolbar_style">icons</property>
+ <property name="show_arrow">False</property>
<child>
- <object class="GtkToolButton" id="fontstyle">
+ <object class="GtkToolItem" id=".uno:StyleApply">
<property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="is_important">True</property>
- <property name="action_name">.uno:StyleApply</property>
+ <property name="can_focus">False</property>
+ <property name="hexpand">True</property>
+ <child>
+ <object class="GtkComboBoxText" id="applystyle">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="hexpand">True</property>
+ <property name="has_entry">True</property>
+ <property name="popup_fixed_width">False</property>
+ <child internal-child="entry">
+ <object class="GtkEntry">
+ <property name="can_focus">True</property>
+ </object>
+ </child>
+ </object>
+ </child>
</object>
<packing>
<property name="expand">True</property>
- <property name="homogeneous">True</property>
+ <property name="homogeneous">False</property>
</packing>
</child>
</object>
@@ -55,38 +71,25 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
- <object class="sfxlo-SidebarToolBox" id="styleupdate">
+ <object class="GtkToolbar" id="style">
<property name="visible">True</property>
<property name="can_focus">True</property>
+ <property name="toolbar_style">icons</property>
+ <property name="show_arrow">False</property>
<child>
- <object class="GtkToolButton" id="styleupdateexample">
+ <object class="GtkToolButton" id=".uno:StyleUpdateByExample">
<property name="visible">True</property>
<property name="can_focus">True</property>
- <property name="is_important">True</property>
- <property name="action_name">.uno:StyleUpdateByExample</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="sfxlo-SidebarToolBox" id="stylenew">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
<child>
- <object class="GtkToolButton" id="stylenewexample">
+ <object class="GtkToolButton" id=".uno:StyleNewByExample">
<property name="visible">True</property>
<property name="can_focus">True</property>
- <property name="is_important">True</property>
- <property name="action_name">.uno:StyleNewByExample</property>
</object>
<packing>
<property name="expand">True</property>
@@ -97,7 +100,7 @@
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
- <property name="position">1</property>
+ <property name="position">0</property>
</packing>
</child>
</object>