Skip to content
Verified Commit 541e0b49 authored by ivan tkachenko's avatar ivan tkachenko 🗯
Browse files

[applets/batterymonitor] PowerProfileItem: Refactor Column into Layout

QtQuick.Layouts are easier to manage, and more flexible.

In case of fillWidth+preferredWidth, preferredWidth defines a ratio
rather than an absolute value, so it was replaced with a singleton `1`
instead of a magic number `50`. Since size of this applet propagates
top-down only, it should not affect any calculations, especially
because `50` is too narrow to fit any reasonable text label, except
maybe Chinese.
parent ae75dfde
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment