| commit | 4987c82449183d47464c94d4ed0aa0bbf2abf3aa | [log] |
|---|---|---|
| author | Kevin Suo <suokunlong@126.com> | Thu Dec 24 18:55:46 2020 +0800 |
| committer | Heiko Tietze <heiko.tietze@documentfoundation.org> | Mon Dec 28 09:33:33 2020 +0100 |
| tree | a5052ca9ec69b7f1ecc5429ba17eeb7da4e3bd97 | |
| parent | 1481e3efef5a9eeb75157c513bf4466534f96281 [diff] |
tdf#104278: text in Type frame in DocInformation is not aligned left As we can see from sw/uiconfig/swriter/ui/flddocinfopage.ui, we have a GtkTreeView in GtkFrame "typeframe", without the following property: <property name="show_expanders">False</property> A GtkTreeView seems have a default indentation if show_expanders is True (which is the default), see: https://developer.gnome.org/gtk3/stable/GtkTreeView.html#gtk-tree-view-set-show-expanders A "expander" would look like this: https://python-gtk-3-tutorial.readthedocs.io/en/latest/expander.html I do not see a reason why we should use an expander here in this dialog. As a result, setting show_expanders to False will solve the problem. Change-Id: I29cbb13f8d57aeb502079f278e4b620d97d8f170 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108261 Tested-by: Jenkins Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
diff --git a/sw/uiconfig/swriter/ui/flddocinfopage.ui b/sw/uiconfig/swriter/ui/flddocinfopage.ui index f45ef73..13054b6 100644 --- a/sw/uiconfig/swriter/ui/flddocinfopage.ui +++ b/sw/uiconfig/swriter/ui/flddocinfopage.ui
@@ -64,6 +64,7 @@ <property name="headers_visible">False</property> <property name="headers_clickable">False</property> <property name="search_column">0</property> <property name="show_expanders">False</property> <child internal-child="selection"> <object class="GtkTreeSelection" id="treeview-selection1"/> </child>