Qt 6.2 workaround added - once

https://github.com/uwerat/qskinny/issues/131 is in place we hopefully
can remove it again
This commit is contained in:
Uwe Rathmann 2021-10-07 12:29:42 +02:00
parent 18dfd907fe
commit c6fd012fa0
6 changed files with 17 additions and 8 deletions

View File

@ -23,7 +23,8 @@ Qsk.Window
orientation: Qt.Horizontal
dimension: 3
margins: 10
//margins: 10 // only possible with Qt >= 6.2
margins { left: 10; top: 10; right: 10; bottom: 10 }
spacing: 10
TestButton

View File

@ -38,7 +38,8 @@ Main
orientation: Qt.Horizontal
spacing: 20
margins: 8 // so that we can see the focus frame
//margins: 8 // so that we can see the focus frame
margins { left: 8; top: 8; right: 8; bottom: 8 }
SimpleListBox
{
@ -53,7 +54,8 @@ Main
LinearBox
{
margins: 10
// margins: 10
margins { left: 10; top: 10; right: 10; bottom: 10 }
orientation: Qt.Vertical
defaultAlignment: Qt.AlignCenter
extraSpacingAt: Qt.BottomEdge
@ -86,7 +88,8 @@ Main
dimension: 3
spacing: 20
margins: 20
//margins: 20
margins { left: 20; top: 20; right: 20; bottom: 20 }
sizePolicy
{

View File

@ -15,7 +15,8 @@ Qsk.Window
orientation: Qt.Horizontal
dimension: 6
margins: 10
//margins: 10 // only possible with Qt >= 6.2
margins { left: 10; top: 10; right: 10; bottom: 10 }
spacing: 10
// panel

View File

@ -15,7 +15,8 @@ Qsk.Window
orientation: Qt.Horizontal
dimension: 3
margins: 10
//margins: 10
margins { left: 10; top: 10; right: 10; bottom: 10 }
spacing: 20
Repeater

View File

@ -4,7 +4,9 @@ import Test 1.0
GridBox
{
margins: 10
//margins: 10 // only possible with Qt >= 6.2
margins { left: 10; top: 10; right: 10; bottom: 10 }
autoFillBackground : true
background

View File

@ -16,7 +16,8 @@ Qsk.Window
orientation: Qt.Horizontal
dimension: 2
margins: 10
margins { left: 10; top: 10; right: 10; bottom: 10 }
//margins: 10
Qsk.PushButton
{