Skip to content
Snippets Groups Projects
Commit ffc88b23 authored by akiraohgaki's avatar akiraohgaki
Browse files

Code cleanup

parent 564b82cb
No related branches found
No related tags found
No related merge requests found
......@@ -12,13 +12,14 @@ Window {
id: app
title: configHandler.getAppConfigApplication().name
visible: true
width: 400
height: 200
minimumWidth: 400
minimumHeight: 200
maximumWidth: 800
height: 200
minimumHeight: 200
maximumHeight: 400
visible: true
function init() {
var metadata = ocsUrlHandler.metadata();
......
......@@ -5,10 +5,10 @@ import QtQuick.Controls 1.0
ColumnLayout {
id: dialog
visible: false
anchors.fill: parent
anchors.margins: 12
spacing: 8
visible: false
property alias icon: icon.source
property alias primaryText: primaryText.text
......@@ -33,9 +33,9 @@ ColumnLayout {
Image {
id: icon
source: ""
visible: source.toString() ? true : false
Layout.preferredWidth: 32
Layout.preferredHeight: 32
visible: source.toString() ? true : false
}
ColumnLayout {
Layout.fillWidth: true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment