Skip to content
Commit 53d1a09f authored by Yijie Du's avatar Yijie Du Committed by Fushan Wen
Browse files

kcm_fonts: fix combobox item not taking up full width

Added a width attribute to the combo boxes that evaluates to the
maximum of the container's width and its implicit width, so that
the items will take up the full space of its container even when
the preview images failed to render e.g. when it shortcuts under
Wayland.

Didn't expect it to interact well with the onWidthChanged handler,
but it magically worked.


(cherry picked from commit a54e6f9e)
parent 1f4ed5d0
Pipeline #633718 passed with stage
in 18 minutes and 30 seconds
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