Commit d147a888 by Hugo Beauzée-Luyssen Committed by luyikei

Effects: Reduce space waste

parent 5742f487
import QtQuick 2.0
import QtQuick.Controls 1.4
import QtQuick.Layouts 1.3
Rectangle {
id: effect
color: "#444444"
width: parent.width
height: 200
border.color: "#222222"
border.width: 1
width: parent.width
height: childrenRect.height
property string identifier
property string name
property string description
property string author
Column {
width: sView.viewport.width
Text {
text: name
font.pointSize: 20
color: "#EEEEEE"
elide: Text.ElideRight
width: parent.width
}
Text {
text: identifier
font.pointSize: 14
color: "#EEEEEE"
elide: Text.ElideRight
width: parent.width
}
Text {
text: description
color: "#EEEEEE"
elide: Text.ElideRight
width: parent.width
}
Text {
text: author
color: "#EEEEEE"
elide: Text.ElideRight
width: parent.width
}
}
MouseArea {
anchors.fill: parent
onPressed: {
......
......@@ -28,7 +28,6 @@ Rectangle {
identifier: model.identifier
name: model.name
description: model.description
author: model.author
}
}
}
......
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