mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-24 07:27:44 +01:00
Adjusted some font sizes
git-svn-id: svn://localhost/trunk/ardour2@199 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
010fc09da9
commit
bf5180d17a
3 changed files with 19 additions and 9 deletions
|
|
@ -389,6 +389,7 @@ Editor::Editor (AudioEngine& eng)
|
|||
controls_layout.add (edit_controls_vbox);
|
||||
controls_layout.set_name ("EditControlsBase");
|
||||
controls_layout.signal_size_request().connect (mem_fun(*this, &Editor::set_layout_width), false);
|
||||
controls_layout.signal_expose_event().connect (mem_fun(*this, &Editor::layout_expose), false);
|
||||
|
||||
controls_layout.add_events (Gdk::BUTTON_PRESS_MASK|Gdk::BUTTON_RELEASE_MASK|Gdk::ENTER_NOTIFY_MASK|Gdk::LEAVE_NOTIFY_MASK);
|
||||
controls_layout.signal_button_release_event().connect (mem_fun(*this, &Editor::edit_controls_button_release));
|
||||
|
|
@ -3933,5 +3934,13 @@ Editor::set_layout_width(Gtk::Requisition *r)
|
|||
edit_controls_vbox.check_resize();
|
||||
int w = edit_controls_vbox.get_width();
|
||||
cerr << "set_layout_width() called w = " << w << endl;
|
||||
|
||||
controls_layout.set_size_request (w, -1);
|
||||
}
|
||||
|
||||
bool
|
||||
Editor::layout_expose (GdkEventExpose* ex)
|
||||
{
|
||||
cerr << "layout_expose() called" << endl;
|
||||
return TRUE;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue