gpt4 book ai didi

qt - 在列中对齐水平中心

转载 作者:行者123 更新时间:2023-12-04 05:17:33 24 4
gpt4 key购买 nike

Column documentation解释了如何实现这一点:

enter image description here

但是,我想实现这一目标:

enter image description here

Column中的所有项目应该水平对齐到中心。 anchors.horizontalCenter: parent.Center不起作用。我怎样才能获得想要的结果?

最佳答案

我想你可以使用 anchors.horizontalCenter使所有子项与 horizontalCenter 对齐列的名称,因为该列具有您可以引用的 id。

关于qt - 在列中对齐水平中心,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30886994/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com