Skip to content

Linux/FreeBSD/macOS: Column widths correct initially and on update#1552

Merged
idrassi merged 1 commit intoveracrypt:masterfrom
Jertzukka:columnwidths
Jun 9, 2025
Merged

Linux/FreeBSD/macOS: Column widths correct initially and on update#1552
idrassi merged 1 commit intoveracrypt:masterfrom
Jertzukka:columnwidths

Conversation

@Jertzukka
Copy link
Copy Markdown
Contributor

The sizing of column width was set before the column itself is filled with the slot values, which caused the column width to be incorrect until the OnTimer runs to update it in a few seconds from launch. Changing the order ensures the column width is correct on program launch. Also ensure that we do not autosize columns 3 and 4 to fit empty content, this caused the column to go minimum width in some unmount cases.

Fixes: #1551

Column width was updated before SlotListCtrl had the slots added,
which caused the column width to be incorrect before the first time
OnTimer ran to update it. Changing the order ensures the column width
is correct on program launch. Also ensure that we do not autosize
column to fit empty content.
@idrassi
Copy link
Copy Markdown
Member

idrassi commented Jun 9, 2025

Amazing!
Thanks for the fix.

@idrassi idrassi merged commit 5d1c48d into veracrypt:master Jun 9, 2025
1 check passed
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.

Slow loading icons on linux

2 participants