[Libreoffice-commits] core.git: svx/source svx/uiconfig
Shivam Kumar Singh (via logerrit)
logerrit at kemper.freedesktop.org
Thu Jul 23 14:40:51 UTC 2020
svx/source/sidebar/inspector/InspectorTextPanel.cxx | 2 +-
svx/uiconfig/ui/inspectortextpanel.ui | 6 ++++--
2 files changed, 5 insertions(+), 3 deletions(-)
New commits:
commit 27c1a7fbcd3e236d4eee7ee3e1a7acdaa47510eb
Author: Shivam Kumar Singh <shivamhere247 at gmail.com>
AuthorDate: Thu Jul 23 12:12:21 2020 +0530
Commit: Mike Kaganski <mike.kaganski at collabora.com>
CommitDate: Thu Jul 23 16:40:10 2020 +0200
Added headers to Inspector Panel
Change-Id: Id44d42a9a1495b74ce7f75be28aa2e39403e9f4a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99265
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski at collabora.com>
diff --git a/svx/source/sidebar/inspector/InspectorTextPanel.cxx b/svx/source/sidebar/inspector/InspectorTextPanel.cxx
index ddbee7f51624..d9a389aefab9 100644
--- a/svx/source/sidebar/inspector/InspectorTextPanel.cxx
+++ b/svx/source/sidebar/inspector/InspectorTextPanel.cxx
@@ -51,7 +51,7 @@ InspectorTextPanel::InspectorTextPanel(vcl::Window* pParent,
float fWidth = mpListBoxStyles->get_approximate_digit_width();
std::vector<int> aWidths;
aWidths.push_back(fWidth * 34);
- aWidths.push_back(fWidth * 15);
+ aWidths.push_back(fWidth * 34);
mpListBoxStyles->set_column_fixed_widths(aWidths);
}
diff --git a/svx/uiconfig/ui/inspectortextpanel.ui b/svx/uiconfig/ui/inspectortextpanel.ui
index 71199a8e449d..0b2de5a225f4 100644
--- a/svx/uiconfig/ui/inspectortextpanel.ui
+++ b/svx/uiconfig/ui/inspectortextpanel.ui
@@ -54,8 +54,6 @@
<property name="hexpand">True</property>
<property name="vexpand">True</property>
<property name="model">liststore</property>
- <property name="headers_visible">False</property>
- <property name="headers_clickable">False</property>
<property name="search_column">0</property>
<property name="enable_tree_lines">True</property>
<child internal-child="selection">
@@ -63,6 +61,8 @@
</child>
<child>
<object class="GtkTreeViewColumn" id="treeviewcolumn1">
+ <property name="resizable">True</property>
+ <property name="title" translatable="yes" context="inspectortextpanel|property">Properties</property>
<child>
<object class="GtkCellRendererText" id="cellrenderertext1"/>
<attributes>
@@ -75,6 +75,8 @@
</child>
<child>
<object class="GtkTreeViewColumn" id="treeviewcolumn2">
+ <property name="resizable">True</property>
+ <property name="title" translatable="yes" context="inspectortextpanel|value">Values</property>
<child>
<object class="GtkCellRendererText" id="cellrenderertext2"/>
<attributes>
More information about the Libreoffice-commits
mailing list