[BUG] Text overflows in the display settings screen
The monitor names overflow there boxes, the text should with be truncated, or support having multiple rows of text.
Also happens in System & Accounts > About
This bug is still present within the latest beta
I debugged this and it looks to me like this is a bug in the underlying iced framework when using Alignment::Center for a SegmentedButton, which is used in the display tabs in the "Displays" page and the "Wallpaper" page. Changing it to Alignment::Start could be used as a workaround for this issue, but aligns the text to the left, which looks kind of ugly to me.
I am completely new to Cosmic DE, libcosmic and iced. Can some Cosmic DE developer confirm that I am on the right path? If so, I might put in the effort to get a patch implemented and upstreamed for iced.
Alignment::Center:
https://github.com/user-attachments/assets/dad568b2-e728-4c43-9c24-3b0c2524b4a3
Alignment::Start:
https://github.com/user-attachments/assets/143ceb93-78b2-4872-a511-8a94cf94d143