How to Right Align Numbers in GTK# Spin Button?

淺唱寂寞╮ 提交于 2019-12-08 09:43:22

问题


Can anyone tell me how to right align the numbers in a GTK# spinbutton control?

I can't for the life of my figure out how it works there. The documentation is sparse, and I'm just drawing a blank after numerous attempts.

Thanks in advance for any responses.


回答1:


It's a subclass of Gtk.Entry - you should just be able to set the Xalign property to false.



来源:https://stackoverflow.com/questions/11284994/how-to-right-align-numbers-in-gtk-spin-button

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!