diff options
-rw-r--r-- | basctl/source/basicide/baside2b.cxx | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/basctl/source/basicide/baside2b.cxx b/basctl/source/basicide/baside2b.cxx index ecba2d5fa873..5a1bae42fd93 100644 --- a/basctl/source/basicide/baside2b.cxx +++ b/basctl/source/basicide/baside2b.cxx @@ -1640,14 +1640,9 @@ WatchWindow::WatchWindow(Layout* pParent) m_xTreeListBox->connect_changed( LINK( this, WatchWindow, TreeListHdl ) ); m_xTreeListBox->connect_expanding(LINK(this, WatchWindow, RequestingChildrenHdl)); - std::vector<int> aWidths; - std::vector<bool> aEditables; - aWidths.push_back(220); // VarTabWidth - aEditables.push_back(false); - aWidths.push_back(100); // ValueTabWidth - aEditables.push_back(true); - aWidths.push_back(1250); // TypeTabWidth - aEditables.push_back(false); + // VarTabWidth, ValueTabWidth, TypeTabWidth + std::vector<int> aWidths { 220, 100, 1250 }; + std::vector<bool> aEditables { false, true, false }; m_xTreeListBox->set_column_fixed_widths(aWidths); m_xTreeListBox->set_column_editables(aEditables); |