Fix min-height in QToolButton affecting QFileDialog.

Removed the `min-height` styles from `QToolButton[autoRaise="false"]` and `QToolButton[autoRaise="false"]:checked, QToolButton[autoRaise="false"]:pressed` to fix the issues with the clear text icon in #28. This does not affect the UI anyway, so has no downsides.

Fixes #28.
main
Alex Huszagh 2022-04-28 15:29:44 -05:00
parent 90f679d600
commit 9ad5917cb5
6 changed files with 3644 additions and 3625 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1586,6 +1586,11 @@ QSlider::sub-page:vertical
* The affected issues are #22 and #28.
* https://github.com/Alexhuszagh/BreezeStyleSheets/issues/22
* https://github.com/Alexhuszagh/BreezeStyleSheets/issues/28
*
* The invalid clear text icon in issue #28 still has:
* autoRaise: false
* arrowType: 0
* toolButtonStyle: 0
*/
QToolButton[autoRaise="false"]
{
@ -1596,7 +1601,6 @@ QToolButton[autoRaise="false"]
padding: 0.23em;
padding-top: 0.1em;
padding-right: 1.2em;
min-height: 1.1em;
}
QToolButton[autoRaise="false"]::right-arrow,
@ -1639,7 +1643,6 @@ QToolButton[autoRaise="false"]:pressed
background-color: #3daee9;
padding: 0.23em;
padding-right: 1.2em;
min-height: 1.3em;
outline: none;
}

View File

@ -1586,6 +1586,11 @@ QSlider::sub-page:vertical
* The affected issues are #22 and #28.
* https://github.com/Alexhuszagh/BreezeStyleSheets/issues/22
* https://github.com/Alexhuszagh/BreezeStyleSheets/issues/28
*
* The invalid clear text icon in issue #28 still has:
* autoRaise: false
* arrowType: 0
* toolButtonStyle: 0
*/
QToolButton[autoRaise="false"]
{
@ -1596,7 +1601,6 @@ QToolButton[autoRaise="false"]
padding: 0.23em;
padding-top: 0.1em;
padding-right: 1.2em;
min-height: 1.1em;
}
QToolButton[autoRaise="false"]::right-arrow,
@ -1639,7 +1643,6 @@ QToolButton[autoRaise="false"]:pressed
background-color: rgba(51, 164, 223, 0.5);
padding: 0.23em;
padding-right: 1.2em;
min-height: 1.3em;
outline: none;
}

View File

@ -1586,6 +1586,11 @@ QSlider::sub-page:vertical
* The affected issues are #22 and #28.
* https://github.com/Alexhuszagh/BreezeStyleSheets/issues/22
* https://github.com/Alexhuszagh/BreezeStyleSheets/issues/28
*
* The invalid clear text icon in issue #28 still has:
* autoRaise: false
* arrowType: 0
* toolButtonStyle: 0
*/
QToolButton[autoRaise="false"]
{
@ -1596,7 +1601,6 @@ QToolButton[autoRaise="false"]
padding: 0.23em;
padding-top: 0.1em;
padding-right: 1.2em;
min-height: 1.1em;
}
QToolButton[autoRaise="false"]::right-arrow,
@ -1639,7 +1643,6 @@ QToolButton[autoRaise="false"]:pressed
background-color: #3daee9;
padding: 0.23em;
padding-right: 1.2em;
min-height: 1.3em;
outline: none;
}

View File

@ -1586,6 +1586,11 @@ QSlider::sub-page:vertical
* The affected issues are #22 and #28.
* https://github.com/Alexhuszagh/BreezeStyleSheets/issues/22
* https://github.com/Alexhuszagh/BreezeStyleSheets/issues/28
*
* The invalid clear text icon in issue #28 still has:
* autoRaise: false
* arrowType: 0
* toolButtonStyle: 0
*/
QToolButton[autoRaise="false"]
{
@ -1596,7 +1601,6 @@ QToolButton[autoRaise="false"]
padding: 0.23em;
padding-top: 0.1em;
padding-right: 1.2em;
min-height: 1.1em;
}
QToolButton[autoRaise="false"]::right-arrow,
@ -1639,7 +1643,6 @@ QToolButton[autoRaise="false"]:pressed
background-color: rgba(51, 164, 223, 0.5);
padding: 0.23em;
padding-right: 1.2em;
min-height: 1.3em;
outline: none;
}

View File

@ -1586,6 +1586,11 @@ QSlider::sub-page:vertical
* The affected issues are #22 and #28.
* https://github.com/Alexhuszagh/BreezeStyleSheets/issues/22
* https://github.com/Alexhuszagh/BreezeStyleSheets/issues/28
*
* The invalid clear text icon in issue #28 still has:
* autoRaise: false
* arrowType: 0
* toolButtonStyle: 0
*/
QToolButton[autoRaise="false"]
{
@ -1596,7 +1601,6 @@ QToolButton[autoRaise="false"]
padding: 0.23em;
padding-top: 0.1em;
padding-right: 1.2em;
min-height: 1.1em;
}
QToolButton[autoRaise="false"]::right-arrow,
@ -1639,7 +1643,6 @@ QToolButton[autoRaise="false"]:pressed
background-color: ^highlight^;
padding: 0.23em;
padding-right: 1.2em;
min-height: 1.3em;
outline: none;
}