Add settings and settingsList; remove anchors from inside EllipsisLabel #1
Loading…
Reference in New Issue
No description provided.
Delete Branch "settings"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adding a setting widget and a settingsList widget
Currently being used in WIP in cwtch ui for peerSettings and global Settings
also minor fix, ellipsisLabel shouldn't have had anchors inside it
two minor comments. also, i notice that the 2-column grid approach for inlining would work just fine with only one grid, and pairs of children, instead of a Grid per setting. would that be worth it?
@ -16,3 +13,4 @@
property alias color: label.color
property alias size: label.font.pixelSize
property alias pixelSize: label.font.pixelSize
why both size and pixelSize?
legacy. deleted PixelSize and updated all references
@ -0,0 +57,4 @@
} else {
settingLabel.height
}
}
you seem to be going to lengths to support multiple children but why stack children in an item like this? if someone needs more than one component for a setting, shouldnt they compose them in a single layout before setting is as a
field
? and then if we only need one child we can do something cleaner, like this: https://stackoverflow.com/a/12772703 perhaps?paranoia about weird QML ordering and a day of weird issues.
but yeah it should always have an item so i simplified it
Couldn't figure an easy way to make it work with the HLine between each one easily