Skip to content

Draft: Stop horizontal scrolling due to padding in Dialogs

Joshua Goins requested to merge work/redstrate/fix-dialog-scrolls into master

Now when using the preferredWidth, we take into account the padding of the contentItem, similar to what we're doing with height already.

This is most obvious with the new flatpak KCM which has a small PromptDialog, which has horizontal scrolling without this patch:

image

I need to track down more instances of PromptDialog and Dialog to see if this somehow regresses something else.

Merge request reports

Loading