diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-04-29 15:27:31 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-04-30 10:01:00 +0200 |
commit | a0329f7c60b457405058404dececd4d8479ef1d5 (patch) | |
tree | 5da019b41a0b610ae7e40c44f3c13573a7d0df91 /starmath/uiconfig | |
parent | d0f7b12359082b7dd7c07cfa57e0394dfe325c36 (diff) |
weld SmSymbolDialog
Change-Id: I163a309fdf79e3eeadeb15b2a1c042666def339f
Reviewed-on: https://gerrit.libreoffice.org/53633
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'starmath/uiconfig')
-rw-r--r-- | starmath/uiconfig/smath/ui/catalogdialog.ui | 88 |
1 files changed, 56 insertions, 32 deletions
diff --git a/starmath/uiconfig/smath/ui/catalogdialog.ui b/starmath/uiconfig/smath/ui/catalogdialog.ui index c4010b41b1e5..407dab1aa29c 100644 --- a/starmath/uiconfig/smath/ui/catalogdialog.ui +++ b/starmath/uiconfig/smath/ui/catalogdialog.ui @@ -2,13 +2,13 @@ <!-- Generated with glade 3.20.4 --> <interface domain="sm"> <requires lib="gtk+" version="3.18"/> - <requires lib="LibreOffice" version="1.0"/> <object class="GtkDialog" id="CatalogDialog"> <property name="can_focus">False</property> <property name="border_width">6</property> <property name="title" translatable="yes" context="catalogdialog|CatalogDialog">Symbols</property> - <property name="resizable">False</property> <property name="modal">True</property> + <property name="default_width">0</property> + <property name="default_height">0</property> <property name="type_hint">dialog</property> <child internal-child="vbox"> <object class="GtkBox" id="dialog-vbox5"> @@ -95,6 +95,7 @@ <property name="vexpand">True</property> <property name="row_spacing">6</property> <property name="column_spacing">12</property> + <property name="column_homogeneous">True</property> <child> <object class="GtkLabel" id="label1"> <property name="visible">True</property> @@ -120,39 +121,78 @@ </packing> </child> <child> - <object class="smlo-SmShowSymbolSet" id="symbolsetdisplay"> + <object class="GtkLabel" id="symbolname"> <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">True</property> - <property name="hexpand">True</property> - <property name="vexpand">True</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes" context="catalogdialog|symbolname">Unknown</property> </object> <packing> <property name="left_attach">0</property> - <property name="top_attach">2</property> + <property name="top_attach">3</property> </packing> </child> <child> - <object class="smlo-SmShowSymbol" id="preview:border"> + <object class="GtkScrolledWindow" id="scrolledwindow"> <property name="visible">True</property> - <property name="can_focus">False</property> + <property name="can_focus">True</property> <property name="hexpand">True</property> <property name="vexpand">True</property> + <property name="vscrollbar_policy">always</property> + <property name="shadow_type">in</property> + <child> + <object class="GtkViewport"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + <child> + <object class="GtkDrawingArea" id="symbolsetdisplay"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="events">GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK | GDK_KEY_PRESS_MASK | GDK_KEY_RELEASE_MASK | GDK_STRUCTURE_MASK</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + </object> + </child> + </object> + </child> </object> <packing> - <property name="left_attach">1</property> + <property name="left_attach">0</property> <property name="top_attach">2</property> </packing> </child> <child> - <object class="GtkLabel" id="symbolname"> + <object class="GtkScrolledWindow"> <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="label" translatable="yes" context="catalogdialog|symbolname">Unknown</property> + <property name="can_focus">True</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + <property name="hscrollbar_policy">never</property> + <property name="vscrollbar_policy">never</property> + <property name="shadow_type">in</property> + <child> + <object class="GtkViewport"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + <child> + <object class="GtkDrawingArea" id="preview"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="events">GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK | GDK_STRUCTURE_MASK</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + </object> + </child> + </object> + </child> </object> <packing> - <property name="left_attach">0</property> - <property name="top_attach">3</property> + <property name="left_attach">1</property> + <property name="top_attach">2</property> </packing> </child> <child> @@ -174,7 +214,6 @@ </object> </child> <action-widgets> - <action-widget response="0">edit</action-widget> <action-widget response="-5">ok</action-widget> <action-widget response="-7">close</action-widget> <action-widget response="-11">help</action-widget> @@ -183,19 +222,4 @@ <placeholder/> </child> </object> - <object class="GtkSizeGroup" id="sizegroup1"> - <property name="mode">vertical</property> - <widgets> - <widget name="preview:border"/> - <widget name="symbolsetdisplay"/> - </widgets> - </object> - <object class="GtkSizeGroup" id="sizegroup2"> - <widgets> - <widget name="preview:border"/> - <widget name="symbolsetdisplay"/> - <widget name="symbolset"/> - </widgets> - </object> - <object class="GtkListStore" id="liststore1"/> </interface> |