Reduce needed width to show room times
Also remove excess spacing between the title and time
This commit is contained in:
parent
5eaa877554
commit
f5cbbd0a44
|
@ -40,6 +40,7 @@ HButton {
|
||||||
|
|
||||||
HRowLayout {
|
HRowLayout {
|
||||||
id: additionalInfo
|
id: additionalInfo
|
||||||
|
visible: visibleChildren.length > 0
|
||||||
}
|
}
|
||||||
|
|
||||||
HLabel {
|
HLabel {
|
||||||
|
@ -48,7 +49,7 @@ HButton {
|
||||||
|
|
||||||
visible: Layout.maximumWidth > 0
|
visible: Layout.maximumWidth > 0
|
||||||
Layout.maximumWidth:
|
Layout.maximumWidth:
|
||||||
text && tile.width >= 200 ? implicitWidth : 0
|
text && tile.width >= 160 ? implicitWidth : 0
|
||||||
|
|
||||||
Behavior on Layout.maximumWidth { HNumberAnimation {} }
|
Behavior on Layout.maximumWidth { HNumberAnimation {} }
|
||||||
}
|
}
|
||||||
|
|
|
@ -44,7 +44,7 @@ HTileDelegate {
|
||||||
svgName: "invite-received"
|
svgName: "invite-received"
|
||||||
colorize: theme.colors.alertBackground
|
colorize: theme.colors.alertBackground
|
||||||
|
|
||||||
visible: Layout.maximumWidth > 0
|
visible: invited
|
||||||
Layout.maximumWidth: invited ? implicitWidth : 0
|
Layout.maximumWidth: invited ? implicitWidth : 0
|
||||||
|
|
||||||
Behavior on Layout.maximumWidth { HNumberAnimation {} }
|
Behavior on Layout.maximumWidth { HNumberAnimation {} }
|
||||||
|
|
Loading…
Reference in New Issue
Block a user