Bug 487133 - QComboBox don't use full width of Window
Summary: QComboBox don't use full width of Window
Status: REPORTED
Alias: None
Product: Breeze
Classification: Plasma
Component: QStyle (show other bugs)
Version: 6.0.4
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-17 06:47 UTC by jakobdev
Modified: 2024-05-17 06:50 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
jdAppStreamEdit in Breeze Style (135.78 KB, image/png)
2024-05-17 06:47 UTC, jakobdev
Details
jdAppStreamEdit in Fusion Style (139.40 KB, image/png)
2024-05-17 06:49 UTC, jakobdev
Details
jdAppStreamEdit in Windows Style (133.40 KB, image/png)
2024-05-17 06:50 UTC, jakobdev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jakobdev 2024-05-17 06:47:19 UTC
Created attachment 169553 [details]
jdAppStreamEdit in Breeze Style

Please take a look at the attached Screenshots. They show my Program jdAppStreamEdit. You will notice that the Combo boxes will not fill the full width of the Window in the Breeze style. They will fill the full width on the Fusion (which is the default style of Qt) and the Windows style.

This can easily fixed by setting the horizontal size policy to expanding, which I will do. But I think if a QComboBox uses the full width of the window in all Styles except Breeze, they should also use the full width in Breeze. Not every Qt App is tested agaibst the Breeze style, so the behaviour should be the same in all styles.

Here is a stable Link to the UI file for reference: https://codeberg.org/JakobDev/jdAppStreamEdit/src/commit/36d24766bb8b5876e658fd1664a64d334573a371/jdAppStreamEdit/ui/MainWindow.ui
Comment 1 jakobdev 2024-05-17 06:49:18 UTC
Created attachment 169554 [details]
jdAppStreamEdit in Fusion Style
Comment 2 jakobdev 2024-05-17 06:50:59 UTC
Created attachment 169555 [details]
jdAppStreamEdit in Windows Style