diff options
| -rw-r--r-- | kelakon.qrc | 1 | ||||
| -rw-r--r-- | main.qml | 7 | ||||
| -rw-r--r-- | qtquickcontrols2.conf | 8 | 
3 files changed, 14 insertions, 2 deletions
| diff --git a/kelakon.qrc b/kelakon.qrc index e36056f..98784b9 100644 --- a/kelakon.qrc +++ b/kelakon.qrc @@ -10,5 +10,6 @@          <file>assets/arrow-back-24px.svg</file>          <file>pages/Password.qml</file>          <file>pages/PasswordForm.ui.qml</file> +        <file>qtquickcontrols2.conf</file>      </qresource>  </RCC> @@ -1,12 +1,15 @@  import QtQuick 2.12  import QtQuick.Controls 2.12 +import QtQuick.Controls.Material 2.12  ApplicationWindow {  	id: appWindow -	width: 362 -	height: 628 +	width: 360 +	height: 640  	visible: true +    Material.accent: Material.DeepPurple +  	StackView {  		id: stackView  		anchors.fill : parent diff --git a/qtquickcontrols2.conf b/qtquickcontrols2.conf new file mode 100644 index 0000000..1554f7a --- /dev/null +++ b/qtquickcontrols2.conf @@ -0,0 +1,8 @@ +[Controls] +Style=Material + +[Material] +Theme=Light +Primary=DeepPurple +Accent=DeepPurple +QT_QUICK_CONTROLS_MATERIAL_VARIANT=Normal
\ No newline at end of file |