Qt widget (with layout) space. What is it? How to remove?

前端 未结 3 782
逝去的感伤
逝去的感伤 2020-12-11 21:09

I have written a program that uses widgets as container (for other widgets). Because the contents of the container varies along the program life, the container widget has a

3条回答
  •  星月不相逢
    2020-12-11 21:22

    The method I recall to control spacing is to add dedicated QSpacerItem items between the widgets.

    But I'm first trying to figure out what w is doing. Why not call g1a_l->addLayout(t); directly?

提交回复
热议问题