Skip to content

Conversation

@nickbeth
Copy link
Owner

@nickbeth nickbeth commented Feb 18, 2025

Because ListView only supports autosizing the last column to fill the remaining space, the State and Device column were swapped, since State has a known max width ("Not shared" string).

When creating the list view, a dummy row is inserted with max-width content to size the State column properly.

Fixes #14.

Because ListView only supports autosizing the last column to fill the remaining space, the State and Device column were swapped, since State has a know max width ("Not shared" string).

When creating the list view, a dummy row is inserted with max-width content to size the State column properly.
@nickbeth nickbeth self-assigned this Feb 18, 2025
@nickbeth nickbeth merged commit d693b84 into master Feb 18, 2025
2 checks passed
@nickbeth nickbeth deleted the autosize-cols-fix branch February 18, 2025 13:24
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.

When GUI is not maximized, state is not visible

2 participants