mirror of
https://github.com/tnodir/fort
synced 2024-11-15 07:15:39 +00:00
UI: Update Qt 5.12
This commit is contained in:
parent
16a83de3be
commit
0623cf9a43
@ -43,9 +43,9 @@ T.Button {
|
||||
id: control
|
||||
|
||||
implicitWidth: Math.max(implicitBackgroundWidth,
|
||||
contentItem.implicitWidth + leftPadding + rightPadding)
|
||||
implicitContentWidth + leftPadding + rightPadding)
|
||||
implicitHeight: Math.max(implicitBackgroundHeight,
|
||||
contentItem.implicitHeight + topPadding + bottomPadding)
|
||||
implicitContentHeight + topPadding + bottomPadding)
|
||||
|
||||
padding: 6
|
||||
horizontalPadding: padding + 2
|
||||
|
@ -43,9 +43,9 @@ T.CheckDelegate {
|
||||
id: control
|
||||
|
||||
implicitWidth: Math.max(implicitBackgroundWidth,
|
||||
contentItem.implicitWidth + leftPadding + rightPadding)
|
||||
implicitContentWidth + leftPadding + rightPadding)
|
||||
implicitHeight: Math.max(implicitBackgroundHeight,
|
||||
Math.max(contentItem.implicitHeight,
|
||||
Math.max(implicitContentHeight,
|
||||
indicator ? indicator.implicitHeight : 0) + topPadding + bottomPadding)
|
||||
|
||||
padding: 12
|
||||
|
@ -43,9 +43,9 @@ T.ItemDelegate {
|
||||
id: control
|
||||
|
||||
implicitWidth: Math.max(implicitBackgroundWidth,
|
||||
contentItem.implicitWidth + leftPadding + rightPadding)
|
||||
implicitContentWidth + leftPadding + rightPadding)
|
||||
implicitHeight: Math.max(implicitBackgroundHeight,
|
||||
Math.max(contentItem.implicitHeight,
|
||||
Math.max(implicitContentHeight,
|
||||
indicator ? indicator.implicitHeight : 0) + topPadding + bottomPadding)
|
||||
|
||||
padding: 12
|
||||
|
@ -43,9 +43,9 @@ T.MenuBarItem {
|
||||
id: control
|
||||
|
||||
implicitWidth: Math.max(implicitBackgroundWidth,
|
||||
contentItem.implicitWidth + leftPadding + rightPadding)
|
||||
implicitContentWidth + leftPadding + rightPadding)
|
||||
implicitHeight: Math.max(implicitBackgroundHeight,
|
||||
Math.max(contentItem.implicitHeight,
|
||||
Math.max(implicitContentHeight,
|
||||
indicator ? indicator.implicitHeight : 0) + topPadding + bottomPadding)
|
||||
|
||||
spacing: 6
|
||||
|
@ -43,9 +43,9 @@ T.MenuItem {
|
||||
id: control
|
||||
|
||||
implicitWidth: Math.max(implicitBackgroundWidth,
|
||||
contentItem.implicitWidth + leftPadding + rightPadding)
|
||||
implicitContentWidth + leftPadding + rightPadding)
|
||||
implicitHeight: Math.max(implicitBackgroundHeight,
|
||||
Math.max(contentItem.implicitHeight,
|
||||
Math.max(implicitContentHeight,
|
||||
indicator ? indicator.implicitHeight : 0) + topPadding + bottomPadding)
|
||||
|
||||
padding: 6
|
||||
|
@ -43,9 +43,9 @@ T.RadioDelegate {
|
||||
id: control
|
||||
|
||||
implicitWidth: Math.max(implicitBackgroundWidth,
|
||||
contentItem.implicitWidth + leftPadding + rightPadding)
|
||||
implicitContentWidth + leftPadding + rightPadding)
|
||||
implicitHeight: Math.max(implicitBackgroundHeight,
|
||||
Math.max(contentItem.implicitHeight,
|
||||
Math.max(implicitContentHeight,
|
||||
indicator ? indicator.implicitHeight : 0) + topPadding + bottomPadding)
|
||||
|
||||
padding: 12
|
||||
|
@ -43,9 +43,9 @@ T.RoundButton {
|
||||
id: control
|
||||
|
||||
implicitWidth: Math.max(implicitBackgroundWidth,
|
||||
contentItem.implicitWidth + leftPadding + rightPadding)
|
||||
implicitContentWidth + leftPadding + rightPadding)
|
||||
implicitHeight: Math.max(implicitBackgroundHeight,
|
||||
contentItem.implicitHeight + topPadding + bottomPadding)
|
||||
implicitContentHeight + topPadding + bottomPadding)
|
||||
|
||||
padding: 6
|
||||
spacing: 6
|
||||
|
@ -43,9 +43,9 @@ T.SwipeDelegate {
|
||||
id: control
|
||||
|
||||
implicitWidth: Math.max(implicitBackgroundWidth,
|
||||
contentItem.implicitWidth + leftPadding + rightPadding)
|
||||
implicitContentWidth + leftPadding + rightPadding)
|
||||
implicitHeight: Math.max(implicitBackgroundHeight,
|
||||
Math.max(contentItem.implicitHeight,
|
||||
Math.max(implicitContentHeight,
|
||||
indicator ? indicator.implicitHeight : 0) + topPadding + bottomPadding)
|
||||
|
||||
padding: 12
|
||||
|
@ -43,9 +43,9 @@ T.SwitchDelegate {
|
||||
id: control
|
||||
|
||||
implicitWidth: Math.max(implicitBackgroundWidth,
|
||||
contentItem.implicitWidth + leftPadding + rightPadding)
|
||||
implicitContentWidth + leftPadding + rightPadding)
|
||||
implicitHeight: Math.max(implicitBackgroundHeight,
|
||||
Math.max(contentItem.implicitHeight,
|
||||
Math.max(implicitContentHeight,
|
||||
indicator ? indicator.implicitHeight : 0) + topPadding + bottomPadding)
|
||||
|
||||
padding: 12
|
||||
|
@ -43,9 +43,9 @@ T.TabButton {
|
||||
id: control
|
||||
|
||||
implicitWidth: Math.max(implicitBackgroundWidth,
|
||||
contentItem.implicitWidth + leftPadding + rightPadding)
|
||||
implicitContentWidth + leftPadding + rightPadding)
|
||||
implicitHeight: Math.max(implicitBackgroundHeight,
|
||||
contentItem.implicitHeight + topPadding + bottomPadding)
|
||||
implicitContentHeight + topPadding + bottomPadding)
|
||||
|
||||
padding: 6
|
||||
spacing: 6
|
||||
|
@ -43,9 +43,9 @@ T.ToolButton {
|
||||
id: control
|
||||
|
||||
implicitWidth: Math.max(implicitBackgroundWidth,
|
||||
contentItem.implicitWidth + leftPadding + rightPadding)
|
||||
implicitContentWidth + leftPadding + rightPadding)
|
||||
implicitHeight: Math.max(implicitBackgroundHeight,
|
||||
contentItem.implicitHeight + topPadding + bottomPadding)
|
||||
implicitContentHeight + topPadding + bottomPadding)
|
||||
|
||||
padding: 6
|
||||
spacing: 6
|
||||
|
Loading…
Reference in New Issue
Block a user