How to Right Align Numbers in GTK# Spin Button?

2019-06-11 10:48发布

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条回答
欢心
2楼-- · 2019-06-11 11:25

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

查看更多
登录 后发表回答