fix minimum tabbutton width
This commit is contained in:
parent
64c31f5ca1
commit
d6ba0ff0b4
@ -176,7 +176,7 @@ Item {
|
||||
}
|
||||
|
||||
var maxAllowedWidth = theme.defaultFont.mSize.width * 14
|
||||
var itemWidth = Math.min(maxAllowedWidth, (root.width - (visibleChildCount-1)*10) / visibleChildCount)
|
||||
var itemWidth = (root.width - (visibleChildCount-1)*10) / visibleChildCount
|
||||
|
||||
var itemIndex = mirrored ? childCount - 1 : 0
|
||||
var increment = mirrored ? - 1 : 1
|
||||
|
Loading…
Reference in New Issue
Block a user