support inverted layout
This commit is contained in:
parent
409d340fba
commit
bb10131fd4
@ -114,6 +114,8 @@ Item {
|
||||
}
|
||||
}
|
||||
|
||||
LayoutMirroring.enabled: (Qt.application.layoutDirection === Qt.RightToLeft)
|
||||
LayoutMirroring.childrenInherit: true
|
||||
implicitHeight: Math.floor(Math.max(theme.mSize(theme.defaultFont).height*1.6, minimumHeight))
|
||||
|
||||
// TODO: needs to define if there will be specific graphics for
|
||||
|
@ -94,6 +94,8 @@ Item {
|
||||
*/
|
||||
property real minimumHeight: Math.max(units.iconSizes.small, label.paintedHeight) + delegate.margins.top + delegate.margins.top
|
||||
|
||||
LayoutMirroring.enabled: (Qt.application.layoutDirection === Qt.RightToLeft)
|
||||
LayoutMirroring.childrenInherit: true
|
||||
implicitWidth: {
|
||||
if (label.text.length == 0) {
|
||||
height;
|
||||
|
Loading…
Reference in New Issue
Block a user