diff options
author | Jim Raykowski <raykowj@gmail.com> | 2024-08-28 17:54:34 -0800 |
---|---|---|
committer | Jim Raykowski <raykowj@gmail.com> | 2024-08-30 06:54:47 +0200 |
commit | 41ad19c719decfdce1f26359277db6bb00002836 (patch) | |
tree | c0f79b97c1b3e40eee3a63f82b0aa5bcb9c9205d /basctl | |
parent | 044980edc41544dd5973d5aa57f134d4bfe6d0e7 (diff) |
Resolves: tdf#146800 Linked libraries don't show shource path in Macro
Organizer for VCL plugins that use SalInstanceTreeView
Change-Id: Ide1ea8a14e956836573e8a3aacd2b289d76616ba
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172560
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Reviewed-by: Jim Raykowski <raykowj@gmail.com>
Tested-by: Jenkins
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/basicide/moduldl2.cxx | 2 | ||||
-rw-r--r-- | basctl/uiconfig/basicide/ui/libpage.ui | 12 |
2 files changed, 9 insertions, 5 deletions
diff --git a/basctl/source/basicide/moduldl2.cxx b/basctl/source/basicide/moduldl2.cxx index 386e26b31733..c59eff1706a9 100644 --- a/basctl/source/basicide/moduldl2.cxx +++ b/basctl/source/basicide/moduldl2.cxx @@ -1229,6 +1229,8 @@ void LibPage::SetCurLib() if (nEntry_ == -1 && m_xLibBox->n_children()) nEntry_ = 0; m_xLibBox->set_cursor(nEntry_); + + m_xLibBox->columns_autosize(); } void LibPage::ImpInsertLibEntry( const OUString& rLibName, int nPos ) diff --git a/basctl/uiconfig/basicide/ui/libpage.ui b/basctl/uiconfig/basicide/ui/libpage.ui index 61f98ca36986..7cb16fc6a4c1 100644 --- a/basctl/uiconfig/basicide/ui/libpage.ui +++ b/basctl/uiconfig/basicide/ui/libpage.ui @@ -112,17 +112,18 @@ <property name="hexpand">True</property> <property name="vexpand">True</property> <property name="model">liststore1</property> - <property name="headers-visible">False</property> + <property name="headers-clickable">False</property> <property name="search-column">1</property> - <property name="enable-tree-lines">True</property> + <property name="show-expanders">False</property> <child internal-child="selection"> <object class="GtkTreeSelection" id="Macro Library List-selection1"/> </child> <child> - <object class="GtkTreeViewColumn" id="treeviewcolumn2"> + <object class="GtkTreeViewColumn" id="treeviewcolumn1"> <property name="spacing">6</property> + <property name="title" translatable="yes" context="libpage|treeviewcolumn1">Name</property> <child> - <object class="GtkCellRendererPixbuf" id="cellrenderertext4"/> + <object class="GtkCellRendererPixbuf" id="cellrenderertext1"/> <attributes> <attribute name="pixbuf">0</attribute> </attributes> @@ -138,8 +139,9 @@ </object> </child> <child> - <object class="GtkTreeViewColumn" id="treeviewcolumn3"> + <object class="GtkTreeViewColumn" id="treeviewcolumn2"> <property name="spacing">6</property> + <property name="title" translatable="yes" context="libpage|treeviewcolumn2">Location</property> <child> <object class="GtkCellRendererText" id="cellrenderertext3"/> <attributes> |