Fix font sizing in the big clock.
git-svn-id: svn://localhost/ardour2/branches/3.0@7650 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
8d9c88f48f
commit
6832155310
@ -560,7 +560,7 @@ ARDOUR_UI::setup_clock ()
|
||||
{
|
||||
ARDOUR_UI::Clock.connect (sigc::bind (sigc::mem_fun (big_clock, &AudioClock::set), false));
|
||||
|
||||
big_clock_window->set (new Window (WINDOW_TOPLEVEL));
|
||||
big_clock_window->set (new Window (WINDOW_TOPLEVEL), false);
|
||||
|
||||
big_clock_window->get()->set_keep_above (true);
|
||||
big_clock_window->get()->set_border_width (0);
|
||||
@ -593,6 +593,8 @@ ARDOUR_UI::big_clock_realized ()
|
||||
if (!fd.get_size_is_absolute ()) {
|
||||
original_big_clock_font_size /= PANGO_SCALE;
|
||||
}
|
||||
|
||||
big_clock_window->setup ();
|
||||
}
|
||||
|
||||
void
|
||||
|
@ -82,7 +82,6 @@ WindowProxyBase::maybe_show ()
|
||||
{
|
||||
if (_visible) {
|
||||
show ();
|
||||
setup ();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -90,11 +90,13 @@ public:
|
||||
return _window;
|
||||
}
|
||||
|
||||
/** Set the window and set it up. To be used after initial window creation */
|
||||
void set (T* w) {
|
||||
/** Set the window and maybe set it up. To be used after initial window creation */
|
||||
void set (T* w, bool s = true) {
|
||||
_window = w;
|
||||
if (s) {
|
||||
setup ();
|
||||
}
|
||||
}
|
||||
|
||||
private:
|
||||
T* _window;
|
||||
|
Loading…
Reference in New Issue
Block a user