diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2017-11-23 23:00:55 +0900 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2017-11-24 08:00:17 +0100 |
commit | 66076a431e5db967eeeb3ba8004a06a1e54d9fac (patch) | |
tree | ce98f206c0a82d53bd8c4ced716e964257bed7b5 /svx/uiconfig/ui/classificationdialog.ui | |
parent | a1c0e999b271ac4c6ecb163a1cd2a310b87e9dec (diff) |
TSCP: Advanced dialog UI improvements
- Change the height of TextEdit to ~5 lines (100px)
- IPPart: single to double-click to add
- IPPartNumber: change to ListBox, same behavior as IPPart
- Markings: add on focus change
- Category: remove messagebox when the category changed
Change-Id: I9e695abc7caa702b2150a96ae15e6ce19fc2458a
Reviewed-on: https://gerrit.libreoffice.org/45149
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'svx/uiconfig/ui/classificationdialog.ui')
-rw-r--r-- | svx/uiconfig/ui/classificationdialog.ui | 65 |
1 files changed, 46 insertions, 19 deletions
diff --git a/svx/uiconfig/ui/classificationdialog.ui b/svx/uiconfig/ui/classificationdialog.ui index a4469611c80c..911363016f25 100644 --- a/svx/uiconfig/ui/classificationdialog.ui +++ b/svx/uiconfig/ui/classificationdialog.ui @@ -78,12 +78,9 @@ <property name="column_spacing">12</property> <child> <object class="svxlo-ClassificationEditView" id="classificationEditWindow"> - <property name="width_request">400</property> - <property name="height_request">250</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="hexpand">True</property> - <property name="vexpand">True</property> </object> <packing> <property name="left_attach">0</property> @@ -125,7 +122,7 @@ <object class="GtkLabel"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes" context="classificationdialog|label-InternationalClassification">International Classification:</property> + <property name="label" translatable="yes" context="classificationdialog|label-InternationalClassification">International:</property> <property name="xalign">0</property> </object> <packing> @@ -271,7 +268,7 @@ <packing> <property name="left_attach">1</property> <property name="top_attach">0</property> - <property name="height">2</property> + <property name="height">3</property> </packing> </child> <child> @@ -285,17 +282,6 @@ <property name="row_spacing">6</property> <property name="column_spacing">6</property> <child> - <object class="GtkComboBoxText" id="intellectualPropertyPartNumberCB"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="active">0</property> - </object> - <packing> - <property name="left_attach">2</property> - <property name="top_attach">0</property> - </packing> - </child> - <child> <object class="GtkLabel"> <property name="visible">True</property> <property name="can_focus">False</property> @@ -330,8 +316,7 @@ </object> <packing> <property name="left_attach">0</property> - <property name="top_attach">0</property> - <property name="height">2</property> + <property name="top_attach">1</property> </packing> </child> <child> @@ -343,6 +328,33 @@ </object> <packing> <property name="left_attach">2</property> + <property name="top_attach">2</property> + </packing> + </child> + <child> + <object class="GtkLabel"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes" context="classificationdialog|label-PartNumber">Part:</property> + <property name="xalign">0</property> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">0</property> + </packing> + </child> + <child> + <object class="GtkTreeView" id="intellectualPropertyPartNumberLB"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + <child internal-child="selection"> + <object class="GtkTreeSelection"/> + </child> + </object> + <packing> + <property name="left_attach">1</property> <property name="top_attach">1</property> </packing> </child> @@ -364,10 +376,25 @@ </object> <packing> <property name="left_attach">0</property> - <property name="top_attach">2</property> + <property name="top_attach">3</property> <property name="width">2</property> </packing> </child> + <child> + <object class="GtkGrid"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + <child> + <placeholder/> + </child> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">2</property> + </packing> + </child> </object> <packing> <property name="expand">True</property> |