diff options
author | Heiko Tietze <tietze.heiko@gmail.com> | 2024-05-28 10:15:43 +0200 |
---|---|---|
committer | Heiko Tietze <heiko.tietze@documentfoundation.org> | 2024-05-29 08:59:02 +0200 |
commit | 2164406a973fd40fcc56b8839a21854f6b50a53b (patch) | |
tree | fc870cd8995d16dbeb7090dcf7462c481b5608cf /sfx2/uiconfig/ui | |
parent | 22ce8ed05be37d676739a578b05cc5217109fd87 (diff) |
Resolves tdf#160937 - Improve dialog size for document properties
linefragment.ui and documentinfopage.ui modified to keep
the usual dialog dimension
Change-Id: I1777e4094e584d676a48855717827aaed413e251
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168139
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Diffstat (limited to 'sfx2/uiconfig/ui')
-rw-r--r-- | sfx2/uiconfig/ui/descriptioninfopage.ui | 299 | ||||
-rw-r--r-- | sfx2/uiconfig/ui/documentinfopage.ui | 78 | ||||
-rw-r--r-- | sfx2/uiconfig/ui/linefragment.ui | 106 |
3 files changed, 136 insertions, 347 deletions
diff --git a/sfx2/uiconfig/ui/descriptioninfopage.ui b/sfx2/uiconfig/ui/descriptioninfopage.ui index 5f809140651b..d18910f4c098 100644 --- a/sfx2/uiconfig/ui/descriptioninfopage.ui +++ b/sfx2/uiconfig/ui/descriptioninfopage.ui @@ -1,8 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- Generated with glade 3.38.2 --> +<!-- Generated with glade 3.40.0 --> <interface domain="sfx"> <requires lib="gtk+" version="3.20"/> - <!-- n-columns=2 n-rows=12 --> + <!-- n-columns=2 n-rows=5 --> <object class="GtkGrid" id="DescriptionInfoPage"> <property name="visible">True</property> <property name="can-focus">False</property> @@ -12,20 +12,6 @@ <property name="row-spacing">6</property> <property name="column-spacing">12</property> <child> - <object class="GtkLabel" id="label27"> - <property name="visible">True</property> - <property name="can-focus">False</property> - <property name="label" translatable="yes" context="descriptioninfopage|label27">_Title:</property> - <property name="use-underline">True</property> - <property name="mnemonic-widget">title</property> - <property name="xalign">1</property> - </object> - <packing> - <property name="left-attach">0</property> - <property name="top-attach">0</property> - </packing> - </child> - <child> <object class="GtkLabel" id="label28"> <property name="visible">True</property> <property name="can-focus">False</property> @@ -54,126 +40,6 @@ </packing> </child> <child> - <object class="GtkLabel" id="label31"> - <property name="visible">True</property> - <property name="can-focus">False</property> - <property name="valign">start</property> - <property name="label" translatable="yes" context="descriptioninfopage|label31">Co_ntributor:</property> - <property name="use-underline">True</property> - <property name="mnemonic-widget">contributor</property> - <property name="xalign">1</property> - </object> - <packing> - <property name="left-attach">0</property> - <property name="top-attach">3</property> - </packing> - </child> - <child> - <object class="GtkLabel" id="label32"> - <property name="visible">True</property> - <property name="can-focus">False</property> - <property name="valign">start</property> - <property name="label" translatable="yes" context="descriptioninfopage|label32">Co_verage:</property> - <property name="use-underline">True</property> - <property name="mnemonic-widget">coverage</property> - <property name="xalign">1</property> - </object> - <packing> - <property name="left-attach">0</property> - <property name="top-attach">4</property> - </packing> - </child> - <child> - <object class="GtkLabel" id="label37"> - <property name="visible">True</property> - <property name="can-focus">False</property> - <property name="valign">start</property> - <property name="label" translatable="yes" context="descriptioninfopage|label37">_Identifier:</property> - <property name="use-underline">True</property> - <property name="mnemonic-widget">identifier</property> - <property name="xalign">1</property> - </object> - <packing> - <property name="left-attach">0</property> - <property name="top-attach">5</property> - </packing> - </child> - <child> - <object class="GtkLabel" id="label39"> - <property name="visible">True</property> - <property name="can-focus">False</property> - <property name="valign">start</property> - <property name="label" translatable="yes" context="descriptioninfopage|label39">_Publisher:</property> - <property name="use-underline">True</property> - <property name="mnemonic-widget">publisher</property> - <property name="xalign">1</property> - </object> - <packing> - <property name="left-attach">0</property> - <property name="top-attach">6</property> - </packing> - </child> - <child> - <object class="GtkLabel" id="label40"> - <property name="visible">True</property> - <property name="can-focus">False</property> - <property name="valign">start</property> - <property name="label" translatable="yes" context="descriptioninfopage|label40">R_elation:</property> - <property name="use-underline">True</property> - <property name="mnemonic-widget">relation</property> - <property name="xalign">1</property> - </object> - <packing> - <property name="left-attach">0</property> - <property name="top-attach">7</property> - </packing> - </child> - <child> - <object class="GtkLabel" id="label41"> - <property name="visible">True</property> - <property name="can-focus">False</property> - <property name="valign">start</property> - <property name="label" translatable="yes" context="descriptioninfopage|label41">Ri_ghts:</property> - <property name="use-underline">True</property> - <property name="mnemonic-widget">rights</property> - <property name="xalign">1</property> - </object> - <packing> - <property name="left-attach">0</property> - <property name="top-attach">8</property> - </packing> - </child> - <child> - <object class="GtkLabel" id="label42"> - <property name="visible">True</property> - <property name="can-focus">False</property> - <property name="valign">start</property> - <property name="label" translatable="yes" context="descriptioninfopage|label42">So_urce:</property> - <property name="use-underline">True</property> - <property name="mnemonic-widget">source</property> - <property name="xalign">1</property> - </object> - <packing> - <property name="left-attach">0</property> - <property name="top-attach">9</property> - </packing> - </child> - <child> - <object class="GtkLabel" id="label45"> - <property name="visible">True</property> - <property name="can-focus">False</property> - <property name="valign">start</property> - <property name="label" translatable="yes" context="descriptioninfopage|label45">T_ype:</property> - <property name="use-underline">True</property> - <property name="mnemonic-widget">type</property> - <property name="xalign">1</property> - </object> - <packing> - <property name="left-attach">0</property> - <property name="top-attach">10</property> - </packing> - </child> - <child> <object class="GtkLabel" id="label30"> <property name="visible">True</property> <property name="can-focus">False</property> @@ -185,7 +51,7 @@ </object> <packing> <property name="left-attach">0</property> - <property name="top-attach">11</property> + <property name="top-attach">4</property> </packing> </child> <child> @@ -240,13 +106,13 @@ </packing> </child> <child> - <object class="GtkEntry" id="contributor"> + <object class="GtkEntry" id="edMoreValue"> <property name="visible">True</property> <property name="can-focus">True</property> <property name="hexpand">True</property> <property name="truncate-multiline">True</property> <child internal-child="accessible"> - <object class="AtkObject" id="contributor-atkobject"> + <object class="AtkObject" id="edMoreValue-atkobject"> <property name="AtkObject::accessible-description" translatable="yes" context="descriptioninfopage|extended_tip|contributor">Enter the names of the people, organizations, or other entities that have made contributions to the document.</property> </object> </child> @@ -257,125 +123,6 @@ </packing> </child> <child> - <object class="GtkEntry" id="coverage"> - <property name="visible">True</property> - <property name="can-focus">True</property> - <property name="hexpand">True</property> - <property name="truncate-multiline">True</property> - <child internal-child="accessible"> - <object class="AtkObject" id="coverage-atkobject"> - <property name="AtkObject::accessible-description" translatable="yes" context="descriptioninfopage|extended_tip|coverage">Enter the time, place, or jurisdiction that the document is relevant to.</property> - </object> - </child> - </object> - <packing> - <property name="left-attach">1</property> - <property name="top-attach">4</property> - </packing> - </child> - <child> - <object class="GtkEntry" id="identifier"> - <property name="visible">True</property> - <property name="can-focus">True</property> - <property name="hexpand">True</property> - <property name="truncate-multiline">True</property> - <child internal-child="accessible"> - <object class="AtkObject" id="identifier-atkobject"> - <property name="AtkObject::accessible-description" translatable="yes" context="descriptioninfopage|extended_tip|identifier">Enter a unique and unambiguous identifier for the document.</property> - </object> - </child> - </object> - <packing> - <property name="left-attach">1</property> - <property name="top-attach">5</property> - </packing> - </child> - <child> - <object class="GtkEntry" id="publisher"> - <property name="visible">True</property> - <property name="can-focus">True</property> - <property name="hexpand">True</property> - <property name="truncate-multiline">True</property> - <child internal-child="accessible"> - <object class="AtkObject" id="publisher-atkobject"> - <property name="AtkObject::accessible-description" translatable="yes" context="descriptioninfopage|extended_tip|publisher">Enter the name of the entity that is making the document available.</property> - </object> - </child> - </object> - <packing> - <property name="left-attach">1</property> - <property name="top-attach">6</property> - </packing> - </child> - <child> - <object class="GtkEntry" id="relation"> - <property name="visible">True</property> - <property name="can-focus">True</property> - <property name="hexpand">True</property> - <property name="truncate-multiline">True</property> - <child internal-child="accessible"> - <object class="AtkObject" id="relation-atkobject"> - <property name="AtkObject::accessible-description" translatable="yes" context="descriptioninfopage|extended_tip|relation">Enter information about a resource related to the document.</property> - </object> - </child> - </object> - <packing> - <property name="left-attach">1</property> - <property name="top-attach">7</property> - </packing> - </child> - <child> - <object class="GtkEntry" id="rights"> - <property name="visible">True</property> - <property name="can-focus">True</property> - <property name="hexpand">True</property> - <property name="truncate-multiline">True</property> - <child internal-child="accessible"> - <object class="AtkObject" id="rights-atkobject"> - <property name="AtkObject::accessible-description" translatable="yes" context="descriptioninfopage|extended_tip|rights">Enter information about intellectual property rights associated with the document.</property> - </object> - </child> - </object> - <packing> - <property name="left-attach">1</property> - <property name="top-attach">8</property> - </packing> - </child> - <child> - <object class="GtkEntry" id="source"> - <property name="visible">True</property> - <property name="can-focus">True</property> - <property name="hexpand">True</property> - <property name="truncate-multiline">True</property> - <child internal-child="accessible"> - <object class="AtkObject" id="source-atkobject"> - <property name="AtkObject::accessible-description" translatable="yes" context="descriptioninfopage|extended_tip|source">Enter information about other resources from which the document is derived.</property> - </object> - </child> - </object> - <packing> - <property name="left-attach">1</property> - <property name="top-attach">9</property> - </packing> - </child> - <child> - <object class="GtkEntry" id="type"> - <property name="visible">True</property> - <property name="can-focus">True</property> - <property name="hexpand">True</property> - <property name="truncate-multiline">True</property> - <child internal-child="accessible"> - <object class="AtkObject" id="type-atkobject"> - <property name="AtkObject::accessible-description" translatable="yes" context="descriptioninfopage|extended_tip|type">Enter information about the category or format of the document.</property> - </object> - </child> - </object> - <packing> - <property name="left-attach">1</property> - <property name="top-attach">10</property> - </packing> - </child> - <child> <object class="GtkScrolledWindow" id="scrolledwindow1"> <property name="visible">True</property> <property name="can-focus">True</property> @@ -398,7 +145,41 @@ </object> <packing> <property name="left-attach">1</property> - <property name="top-attach">11</property> + <property name="top-attach">4</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="label27"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="label" translatable="yes" context="descriptioninfopage|label27">_Title:</property> + <property name="use-underline">True</property> + <property name="mnemonic-widget">title</property> + <property name="xalign">1</property> + </object> + <packing> + <property name="left-attach">0</property> + <property name="top-attach">0</property> + </packing> + </child> + <child> + <object class="GtkComboBoxText" id="cbMoreTypes"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <items> + <item translatable="yes" context="descriptioninfopage|type_contributor">Contributor</item> + <item translatable="yes" context="descriptioninfopage|type_coverage">Coverage</item> + <item translatable="yes" context="descriptioninfopage|type_identifier">Identifier</item> + <item translatable="yes" context="descriptioninfopage|type_publisher">Publisher</item> + <item translatable="yes" context="descriptioninfopage|type_relation">Relation</item> + <item translatable="yes" context="descriptioninfopage|type_rights">Rights</item> + <item translatable="yes" context="descriptioninfopage|type_source">Source</item> + <item translatable="yes" context="descriptioninfopage|type_types">Type</item> + </items> + </object> + <packing> + <property name="left-attach">0</property> + <property name="top-attach">3</property> </packing> </child> <child internal-child="accessible"> diff --git a/sfx2/uiconfig/ui/documentinfopage.ui b/sfx2/uiconfig/ui/documentinfopage.ui index 919fb9934563..f908e7fa4e32 100644 --- a/sfx2/uiconfig/ui/documentinfopage.ui +++ b/sfx2/uiconfig/ui/documentinfopage.ui @@ -184,6 +184,7 @@ <property name="can-focus">True</property> <property name="receives-default">False</property> <property name="no-show-all">True</property> + <property name="halign">start</property> <property name="use-underline">True</property> <property name="draw-indicator">True</property> </object> @@ -399,6 +400,7 @@ <property name="can-focus">True</property> <property name="receives-default">False</property> <property name="no-show-all">True</property> + <property name="halign">start</property> <property name="draw-indicator">True</property> </object> <packing> @@ -410,65 +412,71 @@ <object class="GtkBox"> <property name="visible">True</property> <property name="can-focus">False</property> - <property name="halign">start</property> + <property name="orientation">vertical</property> + <property name="spacing">6</property> <child> <object class="GtkCheckButton" id="image-preferred-dpi-checkbutton"> <property name="label" translatable="yes" context="documentinfopage|image-preferred-dpi-checkbutton">Preferred resolution for images:</property> <property name="visible">True</property> <property name="can-focus">True</property> <property name="receives-default">False</property> + <property name="halign">start</property> <property name="margin-end">6</property> <property name="draw-indicator">True</property> - <accessibility> - <relation type="label-for" target="image-preferred-dpi-combobox"/> - </accessibility> </object> <packing> - <property name="expand">True</property> + <property name="expand">False</property> <property name="fill">True</property> <property name="position">0</property> </packing> </child> <child> - <object class="GtkComboBoxText" id="image-preferred-dpi-combobox"> + <object class="GtkBox"> <property name="visible">True</property> <property name="can-focus">False</property> - <property name="has-entry">True</property> - <items> - <item>96</item> - <item>150</item> - <item>200</item> - <item>300</item> - <item>600</item> - </items> - <child internal-child="entry"> - <object class="GtkEntry"> - <property name="truncate-multiline">True</property> + <property name="halign">start</property> + <property name="margin-start">24</property> + <property name="spacing">3</property> + <child> + <object class="GtkComboBoxText" id="image-preferred-dpi-combobox"> + <property name="visible">True</property> <property name="can-focus">False</property> + <property name="halign">start</property> + <property name="has-entry">True</property> + <items> + <item>96</item> + <item>150</item> + <item>200</item> + <item>300</item> + <item>600</item> + </items> </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="lbUnit"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="halign">start</property> + <property name="margin-start">6</property> + <property name="margin-end">6</property> + <property name="label" translatable="yes" context="documentinfopage|image-preferred-ppi-unit">ppi</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> </child> - <accessibility> - <relation type="labelled-by" target="image-preferred-dpi-checkbutton"/> - </accessibility> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">False</property> - <property name="position">1</property> - </packing> - </child> - <child> - <object class="GtkLabel" id="lbUnit"> - <property name="visible">True</property> - <property name="can-focus">False</property> - <property name="margin-start">6</property> - <property name="margin-end">6</property> - <property name="label" translatable="yes" context="documentinfopage|image-preferred-ppi-unit">ppi</property> </object> <packing> <property name="expand">False</property> <property name="fill">True</property> - <property name="position">2</property> + <property name="position">1</property> </packing> </child> </object> diff --git a/sfx2/uiconfig/ui/linefragment.ui b/sfx2/uiconfig/ui/linefragment.ui index 422a3324199d..1c2965001cc1 100644 --- a/sfx2/uiconfig/ui/linefragment.ui +++ b/sfx2/uiconfig/ui/linefragment.ui @@ -1,80 +1,80 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- Generated with glade 3.22.1 --> +<!-- Generated with glade 3.40.0 --> <interface domain="sfx"> <requires lib="gtk+" version="3.20"/> <object class="GtkAdjustment" id="adjustment1"> <property name="upper">86400000</property> - <property name="step_increment">1000</property> - <property name="page_increment">60000</property> + <property name="step-increment">1000</property> + <property name="page-increment">60000</property> </object> <object class="GtkImage" id="image1"> <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="icon_name">sfx2/res/deleterow.png</property> + <property name="can-focus">False</property> + <property name="icon-name">sfx2/res/deleterow.png</property> </object> - <!-- n-columns=1 n-rows=1 --> + <!-- n-columns=4 n-rows=1 --> <object class="GtkGrid" id="lineentry"> <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="no_show_all">True</property> + <property name="can-focus">False</property> + <property name="no-show-all">True</property> <property name="valign">start</property> <property name="hexpand">True</property> <property name="vexpand">True</property> - <property name="column_spacing">4</property> + <property name="column-spacing">4</property> <child> <object class="GtkComboBoxText" id="namebox"> <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="has_entry">True</property> + <property name="can-focus">False</property> + <property name="has-entry">True</property> <child internal-child="entry"> <object class="GtkEntry"> - <property name="can_focus">True</property> + <property name="can-focus">True</property> + <property name="width-chars">0</property> <property name="truncate-multiline">True</property> - <property name="width_chars">27</property> </object> </child> </object> <packing> - <property name="left_attach">0</property> - <property name="top_attach">0</property> + <property name="left-attach">0</property> + <property name="top-attach">0</property> </packing> </child> <child> <object class="GtkComboBoxText" id="typebox"> <property name="visible">True</property> - <property name="can_focus">False</property> + <property name="can-focus">False</property> </object> <packing> - <property name="left_attach">1</property> - <property name="top_attach">0</property> + <property name="left-attach">1</property> + <property name="top-attach">0</property> </packing> </child> <child> <object class="GtkButton" id="remove"> <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">True</property> - <property name="tooltip_text" translatable="yes" context="linefragment|STR_SFX_REMOVE_PROPERTY">Remove Property</property> + <property name="can-focus">True</property> + <property name="receives-default">True</property> + <property name="tooltip-text" translatable="yes" context="linefragment|STR_SFX_REMOVE_PROPERTY">Remove Property</property> <property name="image">image1</property> <property name="always-show-image">True</property> </object> <packing> - <property name="left_attach">3</property> - <property name="top_attach">0</property> + <property name="left-attach">3</property> + <property name="top-attach">0</property> </packing> </child> <child> <object class="GtkBox"> <property name="visible">True</property> - <property name="can_focus">False</property> + <property name="can-focus">False</property> <property name="hexpand">True</property> <property name="orientation">vertical</property> <child> <object class="GtkEntry" id="valueedit"> <property name="visible">True</property> - <property name="can_focus">True</property> + <property name="can-focus">True</property> + <property name="width-chars">0</property> <property name="truncate-multiline">True</property> - <property name="width_chars">32</property> </object> <packing> <property name="expand">True</property> @@ -84,16 +84,16 @@ </child> <child> <object class="GtkBox" id="datetimebox"> - <property name="can_focus">False</property> - <property name="no_show_all">True</property> + <property name="can-focus">False</property> + <property name="no-show-all">True</property> <property name="hexpand">True</property> <property name="spacing">3</property> <child> <object class="GtkMenuButton" id="date"> <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">False</property> - <property name="draw_indicator">True</property> + <property name="can-focus">True</property> + <property name="receives-default">False</property> + <property name="draw-indicator">True</property> <property name="label" translatable="no"></property> <child> <placeholder/> @@ -108,7 +108,7 @@ <child> <object class="GtkSpinButton" id="time"> <property name="visible">True</property> - <property name="can_focus">True</property> + <property name="can-focus">True</property> <property name="truncate-multiline">True</property> <property name="adjustment">adjustment1</property> </object> @@ -127,16 +127,16 @@ </child> <child> <object class="GtkBox" id="durationbox"> - <property name="can_focus">False</property> - <property name="no_show_all">True</property> + <property name="can-focus">False</property> + <property name="no-show-all">True</property> <property name="spacing">3</property> <child> <object class="GtkEntry" id="duration"> <property name="visible">True</property> - <property name="can_focus">True</property> + <property name="can-focus">True</property> <property name="hexpand">True</property> - <property name="truncate-multiline">True</property> <property name="editable">False</property> + <property name="truncate-multiline">True</property> </object> <packing> <property name="expand">False</property> @@ -148,8 +148,8 @@ <object class="GtkButton" id="durationbutton"> <property name="label" translatable="yes" context="linefragment|SFX_ST_EDIT">...</property> <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">True</property> + <property name="can-focus">True</property> + <property name="receives-default">True</property> </object> <packing> <property name="expand">False</property> @@ -166,28 +166,28 @@ </child> <child> <object class="GtkScrolledWindow" id="yesno"> - <property name="can_focus">True</property> - <property name="no_show_all">True</property> - <property name="hscrollbar_policy">never</property> - <property name="vscrollbar_policy">never</property> - <property name="shadow_type">in</property> + <property name="can-focus">True</property> + <property name="no-show-all">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="can-focus">False</property> <child> <object class="GtkBox"> <property name="visible">True</property> - <property name="can_focus">False</property> + <property name="can-focus">False</property> <property name="homogeneous">True</property> <child> <object class="GtkRadioButton" id="yes"> <property name="label" translatable="yes" context="linefragment|yes">Yes</property> <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">False</property> + <property name="can-focus">True</property> + <property name="receives-default">False</property> <property name="active">True</property> - <property name="draw_indicator">True</property> + <property name="draw-indicator">True</property> </object> <packing> <property name="expand">False</property> @@ -199,9 +199,9 @@ <object class="GtkRadioButton" id="no"> <property name="label" translatable="yes" context="linefragment|no">No</property> <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">False</property> - <property name="draw_indicator">True</property> + <property name="can-focus">True</property> + <property name="receives-default">False</property> + <property name="draw-indicator">True</property> <property name="group">yes</property> </object> <packing> @@ -223,8 +223,8 @@ </child> </object> <packing> - <property name="left_attach">2</property> - <property name="top_attach">0</property> + <property name="left-attach">2</property> + <property name="top-attach">0</property> </packing> </child> </object> |