From e3acbdf4a3d94dea7a44a9b9781a9bacd8393ed3 Mon Sep 17 00:00:00 2001 From: Duncan Tourolle Date: Sun, 20 Sep 2026 00:12:34 +0200 Subject: [PATCH] Wrap the falloff and edge chips so a category mask cannot widen the column MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Five chips in one row declare 440px, and the develop column takes the widest panel's request — so selecting a category mask levered the sidebar past the window's edge, clipping the histogram, the group strip and the subject list. The same trap ChipGrid's comment records for film formats. --- ui/dr-ui/ui/masks.slint | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ui/dr-ui/ui/masks.slint b/ui/dr-ui/ui/masks.slint index f303083..dcd1da3 100644 --- a/ui/dr-ui/ui/masks.slint +++ b/ui/dr-ui/ui/masks.slint @@ -713,10 +713,17 @@ component MaskEntry inherits Rectangle { reset => { root.feather-changed(0.004); } } + // Wrapped, both of them: five chips in one row is 440px of + // declared width, and in this column the widest panel's request + // is what every panel gets — selecting a category mask levered + // the whole sidebar open past the window's edge and clipped the + // histogram, the groups strip and the subject list along with + // it. See `ChipGrid`. if root.data.shapeable: Segmented { label: "Falloff"; options: ["Hard", "Linear", "Smooth", "Gaussian", "Expo"]; selected: root.data.falloff; + columns: 3; picked(i) => { root.falloff-picked(i); } } @@ -726,6 +733,7 @@ component MaskEntry inherits Rectangle { + "pinholes; open removes specks."; options: ["None", "Grow", "Shrink", "Close", "Open"]; selected: root.data.morphology; + columns: 3; picked(i) => { root.morphology-picked(i); } }