mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-11-17 00:07:51 +00:00
Added settings page: Layout
This commit is contained in:
parent
140b7634ff
commit
1257eb642a
1 changed files with 39 additions and 0 deletions
39
pages/settings/SettingsLayout.qml
Normal file
39
pages/settings/SettingsLayout.qml
Normal file
|
@ -0,0 +1,39 @@
|
|||
import QtQuick 2.7
|
||||
import QtQuick.Layouts 1.1
|
||||
import QtQuick.Controls 2.0
|
||||
import QtQuick.Dialogs 1.2
|
||||
|
||||
import "../../js/Utils.js" as Utils
|
||||
import "../../js/Windows.js" as Windows
|
||||
import "../../components" as MoneroComponents
|
||||
|
||||
Rectangle {
|
||||
color: "transparent"
|
||||
height: 1400
|
||||
Layout.fillWidth: true
|
||||
|
||||
ColumnLayout {
|
||||
id: settingsUI
|
||||
property int itemHeight: 60 * scaleRatio
|
||||
Layout.fillWidth: true
|
||||
anchors.left: parent.left
|
||||
anchors.top: parent.top
|
||||
anchors.right: parent.right
|
||||
anchors.margins: (isMobile)? 17 : 20
|
||||
anchors.topMargin: 0
|
||||
spacing: 0
|
||||
|
||||
MoneroComponents.CheckBox {
|
||||
visible: !isMobile
|
||||
id: customDecorationsCheckBox
|
||||
checked: persistentSettings.customDecorations
|
||||
onClicked: Windows.setCustomWindowDecorations(checked)
|
||||
text: qsTr("Custom decorations") + translationManager.emptyString
|
||||
}
|
||||
}
|
||||
|
||||
Component.onCompleted: {
|
||||
console.log('SettingsLayout loaded');
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in a new issue