Linux/FreeBSD/macOS: Column widths correct initially and on update#1552
Merged
idrassi merged 1 commit intoveracrypt:masterfrom Jun 9, 2025
Merged
Linux/FreeBSD/macOS: Column widths correct initially and on update#1552idrassi merged 1 commit intoveracrypt:masterfrom
idrassi merged 1 commit intoveracrypt:masterfrom
Conversation
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.
Member
|
Amazing! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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