【发布时间】:2017-08-02 03:45:27
【问题描述】:
我将 qt 设计器仅用于 ui 布局
这几乎和这个问题一样:QVBoxLayout: How to vertically align widgets to the top instead of the center
但我对如何在 qt 设计器中做到这一点很感兴趣。我在 QVBoxLayout 中没有看到任何用于顶部对齐的选项。
【问题讨论】:
标签: qt qt5 qt-designer
我将 qt 设计器仅用于 ui 布局
这几乎和这个问题一样:QVBoxLayout: How to vertically align widgets to the top instead of the center
但我对如何在 qt 设计器中做到这一点很感兴趣。我在 QVBoxLayout 中没有看到任何用于顶部对齐的选项。
【问题讨论】:
标签: qt qt5 qt-designer
右键单击相关小部件并选择布局对齐 > 顶部。
(注意:新的对齐方式只会在预览模式下显示)。
【讨论】: