Fix #3896: 下载界面对于多行信息显示错误#3901
Merged
Merged
Conversation
zkitefly
approved these changes
May 7, 2025
burningtnt
suggested changes
May 7, 2025
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR fixes issue #3896 by ensuring the information panel in the download interface automatically adjusts its height, preventing it from being squeezed by an overflowing version list.
- Fixes the minimum height issue for multi-line information display.
- Sets the description pane's minimum height to adapt to its preferred size.
Glavo
approved these changes
May 18, 2025
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.
Fix #3896
问题成因
信息栏没有设置最低高度导致被版本列表挤压,只要是多行信息且版本列表超出界面高度就能复现
解决方法
將信息栏的高度綁定到
prefHeight(-1)自动调节效果展示
左边为修复前,右边为修复后

