first steps in QML
This commit is contained in:
parent
e9f31abd98
commit
a9ed55b644
1 changed files with 20 additions and 6 deletions
|
@ -30,11 +30,25 @@ PlasmaComponents.ListItem
|
|||
|
||||
Column {
|
||||
width: parent.width
|
||||
PlasmaComponents.Label {
|
||||
|
||||
Row
|
||||
{
|
||||
PlasmaComponents.Label {
|
||||
width: parent.width - browse.width
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
text: display
|
||||
}
|
||||
|
||||
PlasmaComponents.Button {
|
||||
id: browse
|
||||
text: "Browse"
|
||||
onClicked: {
|
||||
text = "Hello"
|
||||
}
|
||||
}
|
||||
|
||||
height: browse.height
|
||||
width: parent.width
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
text: display
|
||||
}
|
||||
|
||||
//Battery
|
||||
|
|
Loading…
Reference in a new issue