Commit affcc596 authored by Chupligin Sergey's avatar Chupligin Sergey

[ButtonRow] fix size

parent 28093241
...@@ -74,11 +74,9 @@ Rectangle { ...@@ -74,11 +74,9 @@ Rectangle {
model: main.model model: main.model
delegate: Rectangle { delegate: Rectangle {
id: rowItem id: rowItem
height: size.dp(50) height: size.dp(40)
width: text.width+(text.width/name.length*2) width: text.width+(text.width/name.length*2)
y: size.dp(-5)
color: "transparent" color: "transparent"
MouseArea { MouseArea {
width: parent.width width: parent.width
...@@ -93,6 +91,7 @@ Rectangle { ...@@ -93,6 +91,7 @@ Rectangle {
Label { Label {
id: text id: text
text: name text: name
height: parent.heigh
anchors.horizontalCenter: parent.horizontalCenter anchors.horizontalCenter: parent.horizontalCenter
......
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