Skip to content

[applets/batterymonitor] Fix it, pt.5: Port BatteryItem to layout types

ivan tkachenko requested to merge work/ratijas/battery/18v-wave-ripples into master

Some flattening and layout enhancements. There's not much to show for it, before and after are supposed to look the same. Except the ToolTip, which got fixed width instead of expanding to whatever width it liked.

I recommend testing with these patches:

138,138
-        active: !detailsLoader.active
+        active: true

163,163
-                visible: !root.isBroken
+             // visible: !root.isBroken

Before:

Screenshot_20211207_065904

After:

Battery_ToolTip_-_After

Merge request reports

Loading