Skip to content
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

Support spread button for numericupdowns. #538

Open
rabbitism opened this issue Jan 13, 2025 · 5 comments
Open

Support spread button for numericupdowns. #538

rabbitism opened this issue Jan 13, 2025 · 5 comments

Comments

@rabbitism
Copy link
Member

Design from tencent TDesign:

image

@wangx036
Copy link

Image

小数精度有问题

@WCKYWCKF
Copy link
Contributor

Image

小数精度有问题

这和UI框架可没什么关系。你可以看看这个
https://www.cnblogs.com/shanfeng1000/p/12398446.html

@wangx036
Copy link

Image
小数精度有问题

这和UI框架可没什么关系。你可以看看这个 https://www.cnblogs.com/shanfeng1000/p/12398446.html

如果UI处理了的话会友好很多😁🌹🌹

@rabbitism
Copy link
Member Author

如果UI处理了的话会友好很多😁🌹🌹

UI 框架不会主动处理这种问题。需要的话请自己设置格式

<u:NumericDoubleUpDown Value="{Binding Value}" />
<u:NumericDoubleUpDown Value="{Binding Value}" FormatString="F3"/>

Image

@wangx036
Copy link

如果UI处理了的话会友好很多😁🌹🌹

UI 框架不会主动处理这种问题。需要的话请自己设置格式

<u:NumericDoubleUpDown Value="{Binding Value}" />
<u:NumericDoubleUpDown Value="{Binding Value}" FormatString="F3"/>
Image

感谢 + 抱歉,对控件不熟悉,以及没有看官方文档🤞

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants