QVBoxLayout:如何使用 Qt 设计器将小部件对齐到顶部
QVBoxLayout: How to align widgets to the top using Qt designer
我仅将 qt 设计器用于 ui 布局
这几乎是同一个问题:QVBoxLayout: How to vertically align widgets to the top instead of the center
但我对如何在 qt 设计器中做到这一点很感兴趣。我在 QVBoxLayout 中没有看到任何用于顶部对齐的选项。
右键单击相关小部件并select布局对齐>顶部。
(注意:新路线只会在预览模式下显示)。
我仅将 qt 设计器用于 ui 布局
这几乎是同一个问题:QVBoxLayout: How to vertically align widgets to the top instead of the center
但我对如何在 qt 设计器中做到这一点很感兴趣。我在 QVBoxLayout 中没有看到任何用于顶部对齐的选项。
右键单击相关小部件并select布局对齐>顶部。
(注意:新路线只会在预览模式下显示)。