Ensure that titleHeight is at least height of buttons
Required to properly lay out the title in case of vertical or bottom alignment. BUG: 304822 FIXED-IN: 4.9.1 REVIEW: 105937
This commit is contained in:
parent
23f2de009b
commit
fb01e4ab8c
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ Decoration {
|
|||
horizontalAlignment: auroraeTheme.horizontalAlignment
|
||||
verticalAlignment: auroraeTheme.verticalAlignment
|
||||
elide: Text.ElideRight
|
||||
height: auroraeTheme.titleHeight
|
||||
height: Math.max(auroraeTheme.titleHeight, auroraeTheme.buttonHeight * auroraeTheme.buttonSizeFactor)
|
||||
color: decoration.active ? auroraeTheme.activeTextColor : auroraeTheme.inactiveTextColor
|
||||
font: decoration.active ? options.activeTitleFont : options.inactiveTitleFont
|
||||
anchors {
|
||||
|
|
Loading…
Reference in a new issue