mirror of
https://github.com/KDE/latte-dock.git
synced 2025-03-20 06:50:28 +03:00
hide title tooltips when applet is expanded
This commit is contained in:
parent
88cd32fffc
commit
cfa8ee9deb
@ -57,9 +57,7 @@ Item{
|
||||
return 1;
|
||||
}
|
||||
|
||||
property bool isActive: (applet && applet.pluginName!==root.plasmoidName && applet.pluginName!=="org.kde.plasma.systemtray"
|
||||
&& applet.status >= PlasmaCore.Types.NeedsAttentionStatus
|
||||
&& applet.status !== PlasmaCore.Types.HiddenStatus)
|
||||
property bool isActive: (container.isExpanded && applet.pluginName!==root.plasmoidName && applet.pluginName!=="org.kde.plasma.systemtray")
|
||||
|
||||
property bool vertical: root.isVertical
|
||||
|
||||
|
@ -83,6 +83,9 @@ Item {
|
||||
property int maxHeight: root.isHorizontal ? root.height : root.width
|
||||
property int shownAppletMargin: applet && (applet.pluginName === "org.kde.plasma.systemtray") ? 0 : appletMargin
|
||||
property int internalSplitterId: 0
|
||||
property int isExpanded: applet && applet.status >= PlasmaCore.Types.NeedsAttentionStatus
|
||||
&& applet.status !== PlasmaCore.Types.HiddenStatus
|
||||
|
||||
property int previousIndex: -1
|
||||
property int sizeForFill: -1 //it is used in calculations for fillWidth,fillHeight applets
|
||||
property int spacersMaxSize: Math.max(0,Math.ceil(0.5*root.iconSize) - root.iconMargin)
|
||||
@ -272,6 +275,12 @@ Item {
|
||||
}
|
||||
}
|
||||
|
||||
onIsExpandedChanged: {
|
||||
if (isExpanded) {
|
||||
root.hideTooltipLabel();
|
||||
}
|
||||
}
|
||||
|
||||
onIsHiddenChanged: {
|
||||
if (isHidden) {
|
||||
parabolicManager.setHidden(-1, index);
|
||||
|
Loading…
x
Reference in New Issue
Block a user