-
Notifications
You must be signed in to change notification settings - Fork 44
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
Improve the height of plugins in the right split #194
Conversation
Signed-off-by: Louise Poubel <[email protected]>
Signed-off-by: Louise Poubel <[email protected]>
Signed-off-by: Louise Poubel <[email protected]>
Codecov Report
@@ Coverage Diff @@
## ign-gui3 #194 +/- ##
=========================================
Coverage 59.03% 59.03%
=========================================
Files 23 23
Lines 2739 2739
=========================================
Hits 1617 1617
Misses 1122 1122 Continue to review full report at Codecov.
|
I don't really get what's supposed to happen, and I am having trouble reproducing the behavior in your animations |
I see that the separator is not movable with the current version, but it is movable with this branch |
but I don't consistently see the auto-adjusting of size that you mention in the description |
I should have mentioned the issue that this is trying to solve. Without this PR, the plugins are always squished to their minimum heights and don't expand to take up the free space. For example, see how the entity tree is small even though there's a lot of empty space under it: This also means that the separators are never draggable without this PR, because the widgets are fixed to their minimum heights. |
This issue was brought up here, see how the widget is squished there: gazebosim/gz-sim#534 (review) |
I think I was misinterpreting what you meant by this. I see the same behavior as in your animations now, so it looks fine enough to me, even if I'm not sure what "stretched to fill the entire height" means |
You can see in my gifs that unless the plugins are collapsed, there's never empty space below them. They are "stretched" to fill the entire column. Thanks for the quick review! |
Signed-off-by: Steve Peters <[email protected]>
🦟 Bug fix
Summary
The height of plugins stacked on the right split doesn't always update in a reasonable way. This pull request improves the situation. The following situations use
examples/config/layout.config
.Checklist
Updated migration guide (as needed)codecheck
passed (See contributing)Note to maintainers: Remember to use Squash-Merge
🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸