summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/xml-tree.cpp
diff options
context:
space:
mode:
authorJabier Arraiza <jabier.arraiza@marker.es>2019-09-07 21:47:15 +0000
committerJabier Arraiza <jabier.arraiza@marker.es>2019-09-07 21:47:15 +0000
commit0fe4e04ef144304e38f61f1c566ea6b9cf9d5c7f (patch)
treeea814221f96d8a11325f0e550b6ad0f096b476bb /src/ui/dialog/xml-tree.cpp
parentAdd scrolled window to XMLDialog and CSS dialog to avoid auto growing when ad... (diff)
downloadinkscape-0fe4e04ef144304e38f61f1c566ea6b9cf9d5c7f.tar.gz
inkscape-0fe4e04ef144304e38f61f1c566ea6b9cf9d5c7f.zip
Add scrolled window to XMLDialog and CSS dialog to avoid auto growing when add new content II (formating)
Diffstat (limited to 'src/ui/dialog/xml-tree.cpp')
-rw-r--r--src/ui/dialog/xml-tree.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/dialog/xml-tree.cpp b/src/ui/dialog/xml-tree.cpp
index f3259eb15..07b574901 100644
--- a/src/ui/dialog/xml-tree.cpp
+++ b/src/ui/dialog/xml-tree.cpp
@@ -74,7 +74,7 @@ XmlTree::XmlTree()
if (!desktop) {
return;
}
-
+
Gtk::Box *root = _getContents();
Gtk::Box *contents = Gtk::manage(new Gtk::Box(Gtk::ORIENTATION_VERTICAL));
status.set_halign(Gtk::ALIGN_START);
@@ -87,7 +87,7 @@ XmlTree::XmlTree()
contents->pack_start(_paned, true, true, 0);
contents->set_valign(Gtk::ALIGN_FILL);
contents->child_property_fill(_paned);
-
+
_paned.set_vexpand(true);
_message_stack = std::make_shared<Inkscape::MessageStack>();
_message_context = std::unique_ptr<Inkscape::MessageContext>(new Inkscape::MessageContext(_message_stack));
@@ -238,7 +238,7 @@ XmlTree::XmlTree()
_updating = false;
tree_reset_context();
Gtk::ScrolledWindow *dialog_scroller = new Gtk::ScrolledWindow();
- dialog_scroller->set_policy( Gtk::POLICY_AUTOMATIC, Gtk::POLICY_AUTOMATIC );
+ dialog_scroller->set_policy(Gtk::POLICY_AUTOMATIC, Gtk::POLICY_AUTOMATIC);
dialog_scroller->set_shadow_type(Gtk::SHADOW_IN);
dialog_scroller->add(*Gtk::manage(contents));
root->pack_start(*dialog_scroller, true, true, 0);