Repository navigation
formdropdown - contentcontainer resize so it fits inside the border - #38707
Open
JanGolicnik wants to merge 2 commits into
Open
JanGolicnik wants to merge 2 commits into
JanGolicnik wants to merge 2 commits into
Conversation
Author
|
can i request come guidance regarding CI, the same tests seem to run fine on my linux and I don't have a windows machine to test with. what can i do to fix this ? |
bdach
reviewed
Sep 7, 2026
bdach
left a comment
Collaborator
There was a problem hiding this comment.
Test failures are irrelevant in this case and as such fine to ignore.
|
|
||
| protected override void UpdateSize(Vector2 newSize) | ||
| { | ||
| ContentContainer.Height = newSize.Y - FormControlBackground.BORDER_THICKNESS * 4.0f; |
Collaborator
There was a problem hiding this comment.
Why times four? That's double of what's actually required to fix the issue, is it not?
Author
There was a problem hiding this comment.
I set the margin to be BORDER_THICKNESS * 2 (line 302), so the height has to be minus twice that. Was just what i subjectively preferred cause the radius in the corner looks a bit off to me. Shouldve mentioned it in the PR. Should I change it to be exact ?
These are screenshots with the exact values
peppy
self-requested a review
November 2, 2026 08:24
Member
Author
This branch has not been deployed
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 for #37047
The ContentContainer is always the same size as the MaskingContainer and since the borders are inset they get covered up by the items. The obvious solution of adding a padding to the MaskingContainer doesn't work cause it disables the borders. Would make sense updating with that if there is a known fix.
screenshots after:

