mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 15:54:57 +01:00
make config-window suitable for small[er] screens
This commit is contained in:
parent
1648a49868
commit
90b4b1e724
2 changed files with 10 additions and 2 deletions
|
|
@ -31,9 +31,15 @@ ConfigInfoDialog::ConfigInfoDialog ()
|
||||||
text.get_buffer()->set_text (std::string (ARDOUR::ardour_config_info));
|
text.get_buffer()->set_text (std::string (ARDOUR::ardour_config_info));
|
||||||
text.set_wrap_mode (Gtk::WRAP_WORD);
|
text.set_wrap_mode (Gtk::WRAP_WORD);
|
||||||
text.show ();
|
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);
|
add_button (Gtk::Stock::CLOSE, Gtk::RESPONSE_ACCEPT);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -18,6 +18,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <gtkmm/textview.h>
|
#include <gtkmm/textview.h>
|
||||||
|
#include <gtkmm/scrolledwindow.h>
|
||||||
|
|
||||||
#include "ardour_dialog.h"
|
#include "ardour_dialog.h"
|
||||||
|
|
||||||
|
|
@ -28,4 +29,5 @@ class ConfigInfoDialog : public ArdourDialog
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Gtk::TextView text;
|
Gtk::TextView text;
|
||||||
|
Gtk::ScrolledWindow scroller;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue