如何在GTK#旋转按钮中右对齐数字? [英] How to Right Align Numbers in GTK# Spin Button?

查看:76
本文介绍了如何在GTK#旋转按钮中右对齐数字?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人可以告诉我如何在GTK#旋转按钮控件中右对齐数字吗?

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.

推荐答案

它是Gtk.Entry的子类-您应该能够将Xalign属性设置为false.

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

这篇关于如何在GTK#旋转按钮中右对齐数字?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆