mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
Use attachment icons
This commit is contained in:
parent
f3ff1a1100
commit
2e4f0e8181
1 changed files with 12 additions and 0 deletions
|
|
@ -65,6 +65,18 @@ Tabbable::default_layout ()
|
|||
right_attachment_button.set_text (_("Right"));
|
||||
bottom_attachment_button.set_text (_("Btm"));
|
||||
|
||||
left_attachment_button.set_icon (ArdourIcon::AttachmentLeft);
|
||||
right_attachment_button.set_icon (ArdourIcon::AttachmentRight);
|
||||
bottom_attachment_button.set_icon (ArdourIcon::AttachmentBottom);
|
||||
|
||||
left_attachment_button.set_name ("lock button"); // XXX re-use netural "fill active" bg style of "lock"
|
||||
right_attachment_button.set_name ("lock button"); // TODO create dedicate button style
|
||||
bottom_attachment_button.set_name ("lock button");
|
||||
|
||||
left_attachment_button.set_tweaks (ArdourButton::ExpandtoSquare);
|
||||
right_attachment_button.set_tweaks (ArdourButton::ExpandtoSquare);
|
||||
bottom_attachment_button.set_tweaks (ArdourButton::ExpandtoSquare);
|
||||
|
||||
content_attachment_hbox.set_border_width(3);
|
||||
content_attachment_hbox.set_spacing(3);
|
||||
content_attachment_hbox.pack_end (right_attachment_button, false, false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue