summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/styledialog.cpp
diff options
context:
space:
mode:
authorkamalpreetgrewal <grewalkamal005@gmail.com>2016-07-20 07:21:39 +0000
committerkamalpreetgrewal <grewalkamal005@gmail.com>2016-07-20 07:21:39 +0000
commitbe3b537680814fd07a0a5776724028f09f78a023 (patch)
tree7030516d3370bd356158649b6ae0872368cd4911 /src/ui/dialog/styledialog.cpp
parentUpdate XML correctly when editing properties (diff)
downloadinkscape-be3b537680814fd07a0a5776724028f09f78a023.tar.gz
inkscape-be3b537680814fd07a0a5776724028f09f78a023.zip
Separate CSS dialog from Style Dialog visually
(bzr r14949.1.56)
Diffstat (limited to 'src/ui/dialog/styledialog.cpp')
-rw-r--r--src/ui/dialog/styledialog.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/dialog/styledialog.cpp b/src/ui/dialog/styledialog.cpp
index 99d5cd7e1..f3e682062 100644
--- a/src/ui/dialog/styledialog.cpp
+++ b/src/ui/dialog/styledialog.cpp
@@ -55,6 +55,7 @@ StyleDialog::StyleDialog() :
{
set_size_request(200, 200);
+ _paned.pack1(_mainBox, Gtk::SHRINK);
_mainBox.pack_start(_scrolledWindow, Gtk::PACK_EXPAND_WIDGET);
_treeView.set_headers_visible(false);
_scrolledWindow.add(_treeView);
@@ -76,7 +77,6 @@ StyleDialog::StyleDialog() :
_treeView.append_column("Selector Name", _mColumns._selectorLabel);
_treeView.set_expander_column(*(_treeView.get_column(1)));
- _treeView.set_level_indentation(-12);
create = manage( new Gtk::Button() );
_styleButton(*create, "list-add", "Add a new CSS Selector");
@@ -94,7 +94,7 @@ StyleDialog::StyleDialog() :
_buttonBox.pack_start(*create, Gtk::PACK_SHRINK);
_buttonBox.pack_start(*del, Gtk::PACK_SHRINK);
- _getContents()->pack_start(_mainBox, Gtk::PACK_EXPAND_WIDGET);
+ _getContents()->pack_start(_paned, Gtk::PACK_EXPAND_WIDGET);
_targetDesktop = getDesktop();
setDesktop(_targetDesktop);
@@ -699,7 +699,7 @@ void StyleDialog::_buttonEventsSelectObjs(GdkEventButton* event )
//Open CSS dialog here.
if (!_cssPane->get_visible()) {
- _mainBox.pack_end(*_cssPane, Gtk::PACK_SHRINK);
+ _paned.pack2(*_cssPane, Gtk::SHRINK);
_cssPane->show_all();
}