diff options
author | Ben Loftis <ben@harrisonconsoles.com> | 2018-02-12 16:16:09 -0600 |
---|---|---|
committer | Ben Loftis <ben@harrisonconsoles.com> | 2018-02-12 16:16:09 -0600 |
commit | 870c046c4c7239a4f22a7020478a6a5df6eb1c0f (patch) | |
tree | e2a378576bb385feda7c8d37dba071dbfa736247 /libs | |
parent | c70aee50e0c48dd1fa63338bb3b6f1193495e79c (diff) |
Users struggle with Pane Dividers. Make them larger, and set a min-size on the mixer list pane.
Diffstat (limited to 'libs')
-rw-r--r-- | libs/widgets/pane.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/widgets/pane.cc b/libs/widgets/pane.cc index 2968f7bfaa..1006a9cfa1 100644 --- a/libs/widgets/pane.cc +++ b/libs/widgets/pane.cc @@ -32,7 +32,7 @@ using namespace ArdourWidgets; Pane::Pane (bool h) : horizontal (h) , did_move (false) - , divider_width (2) + , divider_width (5) , check_fract (false) { using namespace Gdk; @@ -641,8 +641,8 @@ Pane::Divider::Divider () bool Pane::Divider::on_expose_event (GdkEventExpose* ev) { - Gdk::Color c = (dragging ? get_style()->get_fg (Gtk::STATE_ACTIVE) : - get_style()->get_fg (get_state())); + Gdk::Color c = (dragging ? get_style()->get_bg (Gtk::STATE_ACTIVE) : + get_style()->get_bg (get_state())); Cairo::RefPtr<Cairo::Context> draw_context = get_window()->create_cairo_context (); draw_context->rectangle (ev->area.x, ev->area.y, ev->area.width, ev->area.height); @@ -657,7 +657,7 @@ bool Pane::handle_enter_event (GdkEventCrossing*, Divider* d) { d->get_window()->set_cursor (drag_cursor); - d->set_state (Gtk::STATE_SELECTED); + d->set_state (Gtk::STATE_ACTIVE); return true; } |