Commit 24883a2d authored by Jeremy Whiting's avatar Jeremy Whiting
Browse files

Move theme selection button from bottom to top toolbar.

BUG: 386855
Move the theme selection button to the top toolbar so it is
usable while the game is paused or before starting.
parent 8dc7ddf9
...@@ -260,6 +260,17 @@ Item { ...@@ -260,6 +260,17 @@ Item {
} }
} }
ToolButton {
id: themeSelectionButton
Layout.fillWidth: false
text: themeSelectionDialog.model[themeSelectionDialog.selectedIndex]
tooltip: i18n("Change the theme.")
onClicked: {
themeSelectionDialog.open()
}
}
ToolButton { ToolButton {
id: settingsButton id: settingsButton
Layout.fillWidth: true Layout.fillWidth: true
...@@ -610,17 +621,6 @@ Item { ...@@ -610,17 +621,6 @@ Item {
} }
} }
ToolButton {
id: themeSelectionButton
Layout.fillWidth: true
text: themeSelectionDialog.model[themeSelectionDialog.selectedIndex]
tooltip: i18n("Change the theme.")
onClicked: {
themeSelectionDialog.open()
}
}
ToolButton { ToolButton {
id: revealWordButton id: revealWordButton
Layout.fillWidth: true Layout.fillWidth: true
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment