mirror of
https://github.com/clangen/musikcube.git
synced 2025-01-01 09:01:15 +00:00
Align DialogOverlay buttons to the right.
This commit is contained in:
parent
38912b9e63
commit
1b90bb5999
@ -52,6 +52,7 @@ DialogOverlay::DialogOverlay() {
|
||||
this->autoDismiss = true;
|
||||
|
||||
this->shortcuts.reset(new ShortcutsWindow());
|
||||
this->shortcuts->SetAlignment(text::AlignRight);
|
||||
this->AddWindow(this->shortcuts);
|
||||
}
|
||||
|
||||
|
@ -90,7 +90,7 @@ void ShortcutsWindow::UpdateContentColor() {
|
||||
}
|
||||
|
||||
size_t ShortcutsWindow::CalculateLeftPadding() {
|
||||
if (this->alignment = text::AlignLeft) {
|
||||
if (this->alignment == text::AlignLeft) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user