-
Notifications
You must be signed in to change notification settings - Fork 703
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
[NumberBox] fix for text overlapping over spinbuttons #5985
[NumberBox] fix for text overlapping over spinbuttons #5985
Conversation
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
some problems with Azure Pipelines, need to rerun |
You right, I did not realize that this project was used for automated tests. Will force push only actual fix for the problem, removing modifications to test project |
c22a6b1
to
fd18422
Compare
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
Summary of TAEF Warnings: Summary of Errors Outside of Tests: Summary of Non-passing Tests: |
…dth is unrestricted (cherry picked from commit c22a6b1)
fd18422
to
d0a1cf0
Compare
done |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
@ranjeshj @StephenLPeters is it expected behavior? |
Probably, is there a proposed "better" behavior? |
I'm surprised it is clipping from the left, although I think this is the better behavior. I think this should likely be scrollable though. |
There are scroller inside, it remains scrolled to the position where it was scrolled to on focus lost event. On screenshot I just entered "123456789" text and caret was at the end. Usually for not just entered values it would be clipped from the right. Anyway, it is untweaked TextBox behavior, the same happens with NumberBox before this fix, as it clips text too, just at different point, somewhere between spin buttons. |
ah, so you can scroll this content to see the 12 that is being clipped in the screenshot? |
In our app space is premium, so we slightly restyled NumberBox - among other we set NumberBox.InputBox.TextWrapping = TextWrapping::Wrap to remove "Clear all" button, but this had nice side effect for too large texts That idea still requires non-overlapping TextBox and buttons, i.e. fix from current PR |
I do think this makes more sense to me at first glance, @SavoySchuler What do you think? @eugenegff could you open another issue detailing this as to not block this awesome change? |
@StephenLPeters , @beervoley can we speed up things a little bit? |
Sorry about that! looks good. |
🎉 Handy links: |
🎉 Handy links: |
🎉 Handy links: |
🎉 Handy links: |
Fixes #5983