mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 23:35:03 +01:00
Don't blindly enforce a min attachment width/height
This also fixed a copy/edit type. enabling PaneBottom set a min-width to content_right_pane :)
This commit is contained in:
parent
f12a521a94
commit
c780d7c056
1 changed files with 1 additions and 11 deletions
|
|
@ -152,23 +152,13 @@ Tabbable::default_layout ()
|
||||||
content_inner_hbox.pack_start (content_bus_vbox, false, false);
|
content_inner_hbox.pack_start (content_bus_vbox, false, false);
|
||||||
content_bus_vbox.pack_start (content_bus, true, true);
|
content_bus_vbox.pack_start (content_bus, true, true);
|
||||||
|
|
||||||
/* set pane min. sizes */
|
/* set default pane positions */
|
||||||
|
|
||||||
if (_panelayout & PaneRight) {
|
|
||||||
content_right_pane.set_child_minsize (content_att_right, 160); /* rough guess at width of notebook tabs */
|
|
||||||
}
|
|
||||||
content_right_pane.set_check_divider_position (true);
|
content_right_pane.set_check_divider_position (true);
|
||||||
content_right_pane.set_divider (0, 0.85);
|
content_right_pane.set_divider (0, 0.85);
|
||||||
|
|
||||||
if (_panelayout & PaneLeft) {
|
|
||||||
content_left_pane.set_child_minsize (content_att_left, 80);
|
|
||||||
}
|
|
||||||
content_left_pane.set_check_divider_position (true);
|
content_left_pane.set_check_divider_position (true);
|
||||||
content_left_pane.set_divider (0, 0.15);
|
content_left_pane.set_divider (0, 0.15);
|
||||||
|
|
||||||
if (_panelayout & PaneBottom) {
|
|
||||||
content_bottom_pane.set_child_minsize (content_right_pane, 300);
|
|
||||||
}
|
|
||||||
content_bottom_pane.set_check_divider_position (true);
|
content_bottom_pane.set_check_divider_position (true);
|
||||||
content_bottom_pane.set_divider (0, 0.85);
|
content_bottom_pane.set_divider (0, 0.85);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue