aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/particles/affectors/affectors.pro
diff options
context:
space:
mode:
authorMohammadHossein Qanbari <mohammad.qanbari@qt.io>2024-06-10 16:09:41 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2024-06-18 13:18:02 +0000
commit218653b05116b70b075a30520892e7c1c2d471fa (patch)
treed0cfabb5ccd7cacde6c551fcdb01adb42cee4736 /examples/quick/particles/affectors/affectors.pro
parent76a98c3cd7b0e0ff061c899ca0e115cae1d70931 (diff)
Material: fix button padding for IconOnly and TextOnly displays6.7
Correct the right padding of the Material style Button when the display is IconOnly and the left padding when the display is TextOnly. The issue was due to the buttonLeftPadding() and buttonRightPadding() functions not considering the display condition in the hasIcon and hasText arguments. To fix this, the display condition is now included in the arguments of these functions. Additionally, comparing the leftPadding and rightPadding with the output of buttonLeftPadding() and buttonRightPadding() has been added to the test case. Fixes: QTBUG-126124 Pick-to: 6.5 Change-Id: I2f1b60ebeae3d9854f96357bc5b0b5a77746aa17 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io> (cherry picked from commit bffee8b06d960d3c84fab46895ae2edbe1e066c1) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit 41a517ebf2704665f18405b466695b754411f468)
Diffstat (limited to 'examples/quick/particles/affectors/affectors.pro')
0 files changed, 0 insertions, 0 deletions