Skip to content

fix: Use proper layout for filterdialog - #862

Open
borgsten wants to merge 1 commit into
COVESA:masterfrom
borgsten:bugfix/filter_screen_layout
Open

borgsten wants to merge 1 commit into
COVESA:masterfrom
borgsten:bugfix/filter_screen_layout

Conversation

@borgsten

Copy link
Copy Markdown
Contributor

There were multiple issues in the filter dialog which became extra apparent while using a tiling WM and/or a non-default Qt theme.

Buttons and other UI elements should now fit inside their bounding boxes. Extra space on resize goes to the bottom instead of between sections.

Some examples showing the issue and how it looks after the fix. Left is before and right is after.

before_after_plain_min

The positive/negative/marker buttons do not fit in their frame because the frame has a fixed max height. The marker color box has the same problem: it has a fixed height and its buttons use absolute positions instead of a layout.

This becomes more apparent with a theme that has slightly different margins:

before_after_min

The UI elements are also not anchored together, which becomes very apparent when the window is resized, as happens automatically in a tiling window manager:

before_after_plain_halftile

The dialog now uses proper layouts, so it should look consistent across different themes and window sizes.

@shubhamshahaBMW
shubhamshahaBMW force-pushed the bugfix/filter_screen_layout branch from 698f8ae to 4483483 Compare November 12, 2026 11:59
@Renu-Priya411

Renu-Priya411 commented Nov 20, 2026 •

Copy link
Copy Markdown
Collaborator

Kindly Rebase the code

There were multiple issues in the filter dialog which became extra
apparent while using a tiling WM and/or not using default Qt theme.

Buttons and other UI elements should now fit inside their bounding boxes.
Extra space on resize goes to the bottom instead of between sections.
@borgsten
borgsten force-pushed the bugfix/filter_screen_layout branch from 4483483 to 269d43d Compare November 21, 2026 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants