remove arbitrary button sizing for edit mode buttons
This commit is contained in:
parent
80e6d3b534
commit
68f0694ac0
@ -2796,8 +2796,8 @@ Editor::setup_toolbar ()
|
|||||||
VBox* mouse_mode_vbox = manage (new VBox);
|
VBox* mouse_mode_vbox = manage (new VBox);
|
||||||
Alignment* mouse_mode_align = manage (new Alignment);
|
Alignment* mouse_mode_align = manage (new Alignment);
|
||||||
|
|
||||||
Glib::RefPtr<SizeGroup> mouse_mode_size_group = SizeGroup::create (SIZE_GROUP_BOTH);
|
Glib::RefPtr<SizeGroup> mouse_mode_size_group = SizeGroup::create (SIZE_GROUP_VERTICAL);
|
||||||
//mouse_mode_size_group->add_widget (smart_mode_button);
|
mouse_mode_size_group->add_widget (smart_mode_button);
|
||||||
mouse_mode_size_group->add_widget (mouse_move_button);
|
mouse_mode_size_group->add_widget (mouse_move_button);
|
||||||
mouse_mode_size_group->add_widget (mouse_cut_button);
|
mouse_mode_size_group->add_widget (mouse_cut_button);
|
||||||
mouse_mode_size_group->add_widget (mouse_select_button);
|
mouse_mode_size_group->add_widget (mouse_select_button);
|
||||||
@ -2808,13 +2808,6 @@ Editor::setup_toolbar ()
|
|||||||
mouse_mode_size_group->add_widget (mouse_draw_button);
|
mouse_mode_size_group->add_widget (mouse_draw_button);
|
||||||
mouse_mode_size_group->add_widget (internal_edit_button);
|
mouse_mode_size_group->add_widget (internal_edit_button);
|
||||||
|
|
||||||
if (!ARDOUR::Profile->get_small_screen()) {
|
|
||||||
/* make them just a bit bigger */
|
|
||||||
mouse_move_button.set_size_request (24, 30);
|
|
||||||
} else {
|
|
||||||
/* make them just a bit taller */
|
|
||||||
mouse_move_button.set_size_request (-1, 30);
|
|
||||||
}
|
|
||||||
mouse_mode_hbox->set_spacing (2);
|
mouse_mode_hbox->set_spacing (2);
|
||||||
|
|
||||||
if (!ARDOUR::Profile->get_trx()) {
|
if (!ARDOUR::Profile->get_trx()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user