summaryrefslogtreecommitdiff
path: root/vcl/uiconfig
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-01-14 15:42:05 +0000
committerCaolán McNamara <caolanm@redhat.com>2021-01-15 10:10:14 +0100
commitf89b94c280e8d986cdf08271f5cdc6b1dfe09575 (patch)
tree0cc75175c96954e29c6aba0ddcbd52d0269cec65 /vcl/uiconfig
parentcf29283ac7adffbca693364e28f102b7e5434ccf (diff)
tdf#138848 add truncate-multiline to all GtkEntries and GtkSpinButtons
except for extensions/uiconfig/spropctrlr/ui/multiline.ui Change-Id: Ia2eca14332ffd4ac6e277c7529f17eca3ba29c0e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109310 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/uiconfig')
-rw-r--r--vcl/uiconfig/ui/combobox.ui1
-rw-r--r--vcl/uiconfig/ui/cupspassworddialog.ui3
-rw-r--r--vcl/uiconfig/ui/printdialog.ui7
-rw-r--r--vcl/uiconfig/ui/printerdevicepage.ui1
-rw-r--r--vcl/uiconfig/ui/querydialog.ui1
5 files changed, 13 insertions, 0 deletions
diff --git a/vcl/uiconfig/ui/combobox.ui b/vcl/uiconfig/ui/combobox.ui
index 5aee1ad16e43..2c25d7ac8620 100644
--- a/vcl/uiconfig/ui/combobox.ui
+++ b/vcl/uiconfig/ui/combobox.ui
@@ -12,6 +12,7 @@
<property name="can_focus">True</property>
<property name="no_show_all">True</property>
<property name="activates_default">True</property>
+ <property name="truncate-multiline">True</property>
<style>
<class name="combo"/>
</style>
diff --git a/vcl/uiconfig/ui/cupspassworddialog.ui b/vcl/uiconfig/ui/cupspassworddialog.ui
index 4a210b327acb..92ae6b3f9661 100644
--- a/vcl/uiconfig/ui/cupspassworddialog.ui
+++ b/vcl/uiconfig/ui/cupspassworddialog.ui
@@ -118,6 +118,7 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="hexpand">True</property>
+ <property name="truncate-multiline">True</property>
<property name="activates_default">True</property>
</object>
<packing>
@@ -132,6 +133,7 @@
<property name="hexpand">True</property>
<property name="visibility">False</property>
<property name="activates_default">True</property>
+ <property name="truncate-multiline">True</property>
<property name="input_purpose">password</property>
</object>
<packing>
@@ -158,6 +160,7 @@
<property name="can_focus">True</property>
<property name="no_show_all">True</property>
<property name="hexpand">True</property>
+ <property name="truncate-multiline">True</property>
<property name="activates_default">True</property>
</object>
<packing>
diff --git a/vcl/uiconfig/ui/printdialog.ui b/vcl/uiconfig/ui/printdialog.ui
index f75319d4b92c..c1d4c8e24c57 100644
--- a/vcl/uiconfig/ui/printdialog.ui
+++ b/vcl/uiconfig/ui/printdialog.ui
@@ -235,6 +235,7 @@
<property name="can_focus">True</property>
<property name="width_chars">3</property>
<property name="text">1</property>
+ <property name="truncate-multiline">True</property>
<child internal-child="accessible">
<object class="AtkObject" id="pageedit-atkobject">
<property name="AtkObject::accessible-description" translatable="yes" context="printdialog|extended_tip|pageedit">Enter the number of page to be shown in the preview.</property>
@@ -556,6 +557,7 @@
<property name="hexpand">True</property>
<property name="activates_default">True</property>
<property name="placeholder_text" translatable="yes" context="printdialog|pagerange">e.g.: 1, 3-5, 7, 9</property>
+ <property name="truncate-multiline">True</property>
<child internal-child="accessible">
<object class="AtkObject" id="pagerange-atkobject">
<property name="AtkObject::accessible-description" translatable="yes" context="printdialog|extended_tip|pagerange">To print a range of pages, use a format like 3-6. To print single pages, use a format like 7;9;11. You can print a combination of page ranges and single pages, by using a format like 3-6;8;10;12.</property>
@@ -719,6 +721,7 @@
<property name="text">1</property>
<property name="adjustment">adjustment2</property>
<property name="value">1</property>
+ <property name="truncate-multiline">True</property>
<child internal-child="accessible">
<object class="AtkObject" id="copycount-atkobject">
<property name="AtkObject::accessible-description" translatable="yes" context="printdialog|extended_tip|copycount">Enter the number of copies that you want to print.</property>
@@ -1077,6 +1080,7 @@
<property name="text">1</property>
<property name="adjustment">adjustment3</property>
<property name="value">1</property>
+ <property name="truncate-multiline">True</property>
<child internal-child="accessible">
<object class="AtkObject" id="pagerows-atkobject">
<property name="AtkObject::accessible-description" translatable="yes" context="printdialog|extended_tip|pagerows">Select number of rows.</property>
@@ -1107,6 +1111,7 @@
<property name="text">1</property>
<property name="adjustment">adjustment4</property>
<property name="value">1</property>
+ <property name="truncate-multiline">True</property>
<child internal-child="accessible">
<object class="AtkObject" id="pagecols-atkobject">
<property name="AtkObject::accessible-description" translatable="yes" context="printdialog|extended_tip|pagecols">Select number of columns.</property>
@@ -1137,6 +1142,7 @@
<property name="activates_default">True</property>
<property name="text">0</property>
<property name="adjustment">adjustment5</property>
+ <property name="truncate-multiline">True</property>
<child internal-child="accessible">
<object class="AtkObject" id="pagemarginsb-atkobject">
<property name="AtkObject::accessible-description" translatable="yes" context="printdialog|extended_tip|pagemarginsb">Select margin between individual pages on each sheet of paper.</property>
@@ -1179,6 +1185,7 @@
<property name="activates_default">True</property>
<property name="text">0</property>
<property name="adjustment">adjustment6</property>
+ <property name="truncate-multiline">True</property>
<child internal-child="accessible">
<object class="AtkObject" id="sheetmarginsb-atkobject">
<property name="AtkObject::accessible-description" translatable="yes" context="printdialog|extended_tip|sheetmarginsb">Select margin between the printed pages and paper edge.</property>
diff --git a/vcl/uiconfig/ui/printerdevicepage.ui b/vcl/uiconfig/ui/printerdevicepage.ui
index 993a5deebb00..4bdee960d64a 100644
--- a/vcl/uiconfig/ui/printerdevicepage.ui
+++ b/vcl/uiconfig/ui/printerdevicepage.ui
@@ -107,6 +107,7 @@
<object class="GtkEntry" id="custom">
<property name="can_focus">True</property>
<property name="no_show_all">True</property>
+ <property name="truncate-multiline">True</property>
<property name="activates_default">True</property>
</object>
<packing>
diff --git a/vcl/uiconfig/ui/querydialog.ui b/vcl/uiconfig/ui/querydialog.ui
index 901512a54bff..b814e0bc8d1d 100644
--- a/vcl/uiconfig/ui/querydialog.ui
+++ b/vcl/uiconfig/ui/querydialog.ui
@@ -85,6 +85,7 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="hexpand">True</property>
+ <property name="truncate-multiline">True</property>
<property name="activates_default">True</property>
</object>
<packing>