Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: increaze the min and max width for horizontal view #9700

Merged
merged 1 commit into from
Jul 8, 2024

Conversation

GretaD
Copy link
Contributor

@GretaD GretaD commented Jun 3, 2024

fixes #9573

Screenshot from 2024-06-03 19-14-35

i added random numbers @jancborchardt please test it and let me know how much the % should be

@GretaD
Copy link
Contributor Author

GretaD commented Jun 3, 2024

i added random numbers, @jancborchardt please test it and let me know how much the % should be

Comment on lines 155 to 156
horizontalListMinWidth() {
return this.layoutMode === 'horizontal-split' ? 60 : this.defaultListMinWidth
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

defaultListMinWidth is actually a vertical-split value. IMO, it can be a constant number instead of "default".

@ShGKme
Copy link

ShGKme commented Jun 18, 2024

One minor issue, NcAppContent doesn't take into account the min and max values until user tries to resize it manually. For example, if min-max are 40..60 but restored (or from the previous layout) is 20, then it is 20. And only when the user touches it, it becomes 40

@GretaD GretaD requested a review from ShGKme June 20, 2024 08:25
Copy link

@ShGKme ShGKme left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All fine from implementation.

Signed-off-by: greta <gretadoci@gmail.com>
@GretaD GretaD force-pushed the feat/increaze-horizontal-max-width branch from 87d47c2 to cef3c44 Compare July 8, 2024 11:08
@GretaD GretaD enabled auto-merge July 8, 2024 11:08
@GretaD GretaD merged commit d6a55f8 into main Jul 8, 2024
27 of 28 checks passed
@GretaD GretaD deleted the feat/increaze-horizontal-max-width branch July 8, 2024 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Increase the size of the top split of the horizontal split
2 participants