[desktop] Fix misaligned output device #2786
No reviewers
Labels
No labels
android
audio
bug
ci
cmake
confirmed
core
desktop
duplicate
enhancement
frontend
fw
git
graphics
loader
nv gpu
ui
vulkan
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
eden-emu/eden!2786
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/audio"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Builder::BuildWidget previously relied on Qt to handle layout stretching
by implicitly setting each widget to have a stretch of 0. This is very
bad behavior, so to fix this we must set a stretch of 1 on each widget
that's added by the builder
furthermore, default and default_dark did not properly define a min-width or min-height for QComboBox. This caused the platform theme to take over sizing which is NOT GOOD and should basically be avoided always
Signed-off-by: crueter crueter@eden-emu.dev
It's even more misaligned than before
@MaranBr wrote in #2786 (comment):
screenshot
This is caused by default_dark and default not defining anything for QComboBox (most importantly min-width)
The only question is whether or not it may be preferable to keep this, because otherwise things get cut off
New commits pushed, approval review dismissed automatically according to repository settings