Pill: cleanup

- removed duality between disableOpen and forceClose
- renamed rightOpen to oppositeDirection
- wifi+bt: for vertical bar, use tooltip rather than the classic pill
opening as text will most likely never fit.
This commit is contained in:
ItsLemmy
2025-10-20 21:56:59 -04:00
parent 6604373524
commit 95faefa8eb
11 changed files with 45 additions and 42 deletions
+2 -3
View File
@@ -45,14 +45,13 @@ Item {
BarPill {
id: pill
rightOpen: BarService.getPillDirection(root)
oppositeDirection: BarService.getPillDirection(root)
icon: customIcon
text: _dynamicText
density: Settings.data.bar.density
autoHide: false
forceOpen: _dynamicText !== ""
forceClose: false
disableOpen: true
forceClose: true
tooltipText: {
if (!hasExec) {
return "Custom button, configure in settings."