问题
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