summaryrefslogtreecommitdiff
path: root/gtk2_ardour/configinfo.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2013-07-11 16:42:26 +0200
committerRobin Gareus <robin@gareus.org>2013-07-11 20:39:24 +0200
commit66763688d53516f3745cc5f214fe585cd30f3792 (patch)
tree4503b9c5104008f24f7bbbc30f507d1dca59e2f8 /gtk2_ardour/configinfo.cc
parent56daf0b54f735d728bb04a115125b3a790357bc6 (diff)
make config-window suitable for small[er] screens
Diffstat (limited to 'gtk2_ardour/configinfo.cc')
-rw-r--r--gtk2_ardour/configinfo.cc10
1 files changed, 8 insertions, 2 deletions
diff --git a/gtk2_ardour/configinfo.cc b/gtk2_ardour/configinfo.cc
index 29c7e8fe63..67f13a1f5b 100644
--- a/gtk2_ardour/configinfo.cc
+++ b/gtk2_ardour/configinfo.cc
@@ -31,9 +31,15 @@ ConfigInfoDialog::ConfigInfoDialog ()
text.get_buffer()->set_text (std::string (ARDOUR::ardour_config_info));
text.set_wrap_mode (Gtk::WRAP_WORD);
text.show ();
- text.set_size_request (300, 800);
- get_vbox()->pack_start (text, true, true);
+ scroller.set_shadow_type(Gtk::SHADOW_NONE);
+ scroller.set_border_width(0);
+ scroller.add (text);
+ scroller.set_policy (Gtk::POLICY_NEVER, Gtk::POLICY_AUTOMATIC);
+ scroller.show();
+
+ get_vbox()->pack_start (scroller, true, true);
+ set_size_request (400, 600);
add_button (Gtk::Stock::CLOSE, Gtk::RESPONSE_ACCEPT);
}