mirror of
https://github.com/monero-project/monero-gui.git
synced 2026-04-09 15:47:25 -04:00
Replace language sidebar with a dedicated language screen
This commit is contained in:
18
main.qml
18
main.qml
@@ -1604,6 +1604,12 @@ ApplicationWindow {
|
||||
}
|
||||
}
|
||||
|
||||
WizardLang {
|
||||
id: languageView
|
||||
visible: false
|
||||
anchors.fill: parent
|
||||
}
|
||||
|
||||
property int minWidth: 326
|
||||
property int minHeight: 400
|
||||
MouseArea {
|
||||
@@ -1732,6 +1738,11 @@ ApplicationWindow {
|
||||
}
|
||||
}
|
||||
|
||||
function toggleLanguageView(){
|
||||
middlePanel.visible = !middlePanel.visible;
|
||||
languageView.visible = !languageView.visible
|
||||
}
|
||||
|
||||
// TODO: Make the callback dynamic
|
||||
Timer {
|
||||
id: statusMessageTimer
|
||||
@@ -1994,7 +2005,8 @@ ApplicationWindow {
|
||||
opacity: 0.8
|
||||
}
|
||||
|
||||
MoneroComponents.LanguageSidebar {
|
||||
id: languageSidebar
|
||||
}
|
||||
// @TODO: QML type 'Drawer' has issues with buildbot; debug after Qt 5.9 migration
|
||||
// MoneroComponents.LanguageSidebar {
|
||||
// id: languageSidebar
|
||||
// }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user