mirror of
https://github.com/KDE/latte-dock.git
synced 2025-03-23 02:50:12 +03:00
support RTL to tooltips and previews
This commit is contained in:
parent
32c74f818e
commit
5f148b950e
@ -459,6 +459,9 @@ MouseArea {
|
||||
width: handleRow.childrenRect.width + (2 * handleRow.spacing)
|
||||
height: Math.max(configureButton.height, label.contentHeight, closeButton.height)
|
||||
hoverEnabled: true
|
||||
LayoutMirroring.enabled: Qt.application.layoutDirection === Qt.RightToLeft
|
||||
LayoutMirroring.childrenInherit: true
|
||||
|
||||
onEntered: hideTimer.stop();
|
||||
onExited: hideTimer.restart();
|
||||
Row {
|
||||
|
@ -106,6 +106,7 @@ Column {
|
||||
text: appName
|
||||
opacity: flatIndex == 0
|
||||
textFormat: Text.PlainText
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
}
|
||||
// window title
|
||||
PlasmaComponents.Label {
|
||||
@ -116,6 +117,7 @@ Column {
|
||||
elide: Text.ElideRight
|
||||
text: generateTitle()
|
||||
textFormat: Text.PlainText
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
opacity: 0.75
|
||||
}
|
||||
// subtext
|
||||
@ -127,6 +129,7 @@ Column {
|
||||
elide: Text.ElideRight
|
||||
text: isWin ? generateSubText() : ""
|
||||
textFormat: Text.PlainText
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
opacity: 0.6
|
||||
visible: text !== ""
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user