projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e122506
)
Prefs treeview borders
author
Robin Gareus
<robin@gareus.org>
Fri, 30 Dec 2016 17:44:33 +0000
(18:44 +0100)
committer
Robin Gareus
<robin@gareus.org>
Fri, 30 Dec 2016 17:44:33 +0000
(18:44 +0100)
gtk2_ardour/option_editor.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/option_editor.cc
b/gtk2_ardour/option_editor.cc
index 926344f675504c1721ad846f6c4db2d4a693a60c..f6356249281397ffec77355e2fd9951f5f00f6f6 100644
(file)
--- a/
gtk2_ardour/option_editor.cc
+++ b/
gtk2_ardour/option_editor.cc
@@
-864,8
+864,12
@@
OptionEditorContainer::OptionEditorContainer (PBD::Configuration* c, string cons
: OptionEditor (c)
{
set_border_width (4);
: OptionEditor (c)
{
set_border_width (4);
- hpacker.pack_start (treeview(), false, false);
- hpacker.pack_start (notebook(), false, false, 4);
+ Frame* f = manage (new Frame ());
+ f->add (treeview());
+ f->set_shadow_type (Gtk::SHADOW_OUT);
+ f->set_border_width (0);
+ hpacker.pack_start (*f, false, false, 4);
+ hpacker.pack_start (notebook(), false, false);
pack_start (hpacker, true, true);
show_all ();
pack_start (hpacker, true, true);
show_all ();
@@
-876,7
+880,11
@@
OptionEditorWindow::OptionEditorWindow (PBD::Configuration* c, string const& str
, ArdourWindow (str)
{
container.set_border_width (4);
, ArdourWindow (str)
{
container.set_border_width (4);
- hpacker.pack_start (treeview(), false, false);
+ Frame* f = manage (new Frame ());
+ f->add (treeview());
+ f->set_shadow_type (Gtk::SHADOW_OUT);
+ f->set_border_width (0);
+ hpacker.pack_start (*f, false, false);
hpacker.pack_start (notebook(), true, true, 4);
container.pack_start (hpacker, true, true);
hpacker.pack_start (notebook(), true, true, 4);
container.pack_start (hpacker, true, true);