[英]How to align two Gtk3 Entry fields
I've got a GUI that uses a GtkEntry widget to get some users input. 我有一个使用GtkEntry小部件来获取一些用户输入的GUI。 Here's what it looks like:
看起来是这样的:
\\
\\
I've got it working like I want, other than the fact that the To: and CC: fields aren't aligned and that's really annoying. 除了To:和CC:字段未对齐而且确实很烦人之外,我已经按照自己的意愿运行了。
Is there any way I can align them with each-other so they line up perfectly? 我有什么办法可以使它们彼此对齐,从而使它们完美对齐?
将它们放入Gtk.Grid
或使用Gtk.SizeGroup
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.