NumberBox inheriting the default min and max of RangeBase #373
RobertBeekman
started this conversation in
General
Replies: 1 comment
-
Added an issue from this. Yep, was just an oversight when the properties switched from Direct->Styled. I checked WinUI and the history and it was previously correct at double.Min and double.Max |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I did not want to create an issue for this, since it's perhaps intentional.
In my application I was facing issues with the NumberBox, which had started clamping values between 0 and 100. After some investigation I noticed that NumberBox inherits its min and max properties from RangeBase here.
RangeBase in turn has a max of 100 as set here. I personally don't think these defaults are very appropriate for the numberbox. They make sense in a slider per example, but here not so much.
Perhaps it was unintentional, and perhaps you have a good reason for it I just don't know about, but figured I'd bring it up :)
PS, a simple workaround that I'm using right now:
Beta Was this translation helpful? Give feedback.
All reactions