AGroupBox.cpp: Enforce title to trigger over TextOverflow and block content text merge together with title text#571
Draft
luadebug wants to merge 7 commits intoaui-framework:developfrom
Draft
AGroupBox.cpp: Enforce title to trigger over TextOverflow and block content text merge together with title text#571luadebug wants to merge 7 commits intoaui-framework:developfrom
luadebug wants to merge 7 commits intoaui-framework:developfrom
Conversation
…ontent text merge together with title text
Alex2772
reviewed
Aug 14, 2025
aui.views/src/AUI/View/AGroupBox.cpp
Outdated
| label->setTextOverflow(ATextOverflow::ELLIPSIS); | ||
| } | ||
| } | ||
| } << ".agroupbox-title", |
Collaborator
There was a problem hiding this comment.
Have you tried to put both AOverflow::HIDDEN and ATextOverflow::ELLIPSIS to .agroupbox-title?
Member
Author
Collaborator
|
Does it really resolve #542 ? |
Open
2 tasks
Member
Author
|
/gemini review |
There was a problem hiding this comment.
Code Review
This pull request addresses a rendering issue with AGroupBox by adjusting its stylesheet rules to fix how the title and frame interact, especially in overflow scenarios. The changes correctly enforce text clipping on the title and modify overflow properties for better visual consistency. The switch to a descendant selector (>>) for styling views within the title is a good, robust change. My only suggestion is to clean up a commented-out line that seems to be a leftover from debugging.
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.

Resolves #542
Frame and it's border once collision appear next to ALabel scrolled down, Frame's border should taint ALabel.