Restore I-Beam cursor on hover
Should not cause issues with themes
(cherry picked from commit df0ad391ba)
This commit is contained in:
@@ -76,7 +76,11 @@ ToolBar {
|
|||||||
* background colors being very different from the QPalette::Base color.
|
* background colors being very different from the QPalette::Base color.
|
||||||
* Luckily, none of the Qt QQC2 styles do that and neither do KDE's QQC2 styles.
|
* Luckily, none of the Qt QQC2 styles do that and neither do KDE's QQC2 styles.
|
||||||
*/
|
*/
|
||||||
background: null
|
background: MouseArea {
|
||||||
|
acceptedButtons: Qt.NoButton
|
||||||
|
cursorShape: Qt.IBeamCursor
|
||||||
|
z: 1
|
||||||
|
}
|
||||||
leftPadding: mirrored ? 0 : Kirigami.Units.largeSpacing
|
leftPadding: mirrored ? 0 : Kirigami.Units.largeSpacing
|
||||||
rightPadding: !mirrored ? 0 : Kirigami.Units.largeSpacing
|
rightPadding: !mirrored ? 0 : Kirigami.Units.largeSpacing
|
||||||
topPadding: 0
|
topPadding: 0
|
||||||
|
|||||||
Reference in New Issue
Block a user