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));
|
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_keep_above (true);
|
||||||
big_clock_window->get()->set_border_width (0);
|
big_clock_window->get()->set_border_width (0);
|
||||||
@ -593,6 +593,8 @@ ARDOUR_UI::big_clock_realized ()
|
|||||||
if (!fd.get_size_is_absolute ()) {
|
if (!fd.get_size_is_absolute ()) {
|
||||||
original_big_clock_font_size /= PANGO_SCALE;
|
original_big_clock_font_size /= PANGO_SCALE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
big_clock_window->setup ();
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
@ -82,7 +82,6 @@ WindowProxyBase::maybe_show ()
|
|||||||
{
|
{
|
||||||
if (_visible) {
|
if (_visible) {
|
||||||
show ();
|
show ();
|
||||||
setup ();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -90,10 +90,12 @@ public:
|
|||||||
return _window;
|
return _window;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Set the window and set it up. To be used after initial window creation */
|
/** Set the window and maybe set it up. To be used after initial window creation */
|
||||||
void set (T* w) {
|
void set (T* w, bool s = true) {
|
||||||
_window = w;
|
_window = w;
|
||||||
setup ();
|
if (s) {
|
||||||
|
setup ();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
Loading…
Reference in New Issue
Block a user