X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fconfiginfo.cc;h=67f13a1f5ba6612058682730e08ff2a9fe4f1617;hb=04bf9d1e9594688db4a69c3660feef2efe23945b;hp=636b11accf90ae74208c47888a66311b8a98ce13;hpb=da8eec7a8311295ee91308eca9fae2146385c512;p=ardour.git diff --git a/gtk2_ardour/configinfo.cc b/gtk2_ardour/configinfo.cc index 636b11accf..67f13a1f5b 100644 --- a/gtk2_ardour/configinfo.cc +++ b/gtk2_ardour/configinfo.cc @@ -17,6 +17,8 @@ */ +#include + #include "ardour/ardour.h" #include "configinfo.h" @@ -29,7 +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); }