problem with automatic scrollbar disappearing after focus loss (see #1208)

This commit is contained in:
Fischlurch 2020-02-28 01:49:35 +01:00
parent 396bf9d1ec
commit c252449388

View file

@ -434,8 +434,8 @@ namespace timeline {
this->pack_start (contentArea_, Gtk::PACK_EXPAND_WIDGET);
contentArea_.set_shadow_type (Gtk::SHADOW_NONE);
contentArea_.set_policy (Gtk::POLICY_ALWAYS, Gtk::POLICY_AUTOMATIC); // always need a horizontal scrollbar
contentArea_.property_expand() = true; // dynamically grab additional space
contentArea_.set_policy (Gtk::POLICY_ALWAYS, Gtk::POLICY_ALWAYS); // always use both scrollbars ////////////////TICKET #1208 : 2/2002 Gtk::POLICY_AUTOMATIC hides scrollbar after focus loss
contentArea_.property_expand() = true; // dynamically grab additional space
contentArea_.add (mainCanvas_);
// realise all initially configured elements....