[PyQt] Preview does not resize layouts

Rich Shepard rshepard at appl-ecosys.com
Tue Jan 17 13:35:29 GMT 2017


On Tue, 17 Jan 2017, Hans-Peter Jansen wrote:

> The "no parking" term is mine, I needed an expression to describe this
> appearance (and, as you already noticed, I'm not a native speaker..,
> sorry).

Pete,

   The term is appropriate.

> It means: no layout assigned, and asks for some action: guess, which.. If
> you want to try yourself, read my other mail, load mainframe.ui as you
> sent it to the list, and try to archive, what I sent in.

   OK.

> You can drop a horiz. spacer into the button group. Drag it until a little
> blue line appears right to the buttons, but still inside the button group:
> notice, that you can add and remove spacers in already layouted elements!
> Next, click somewhere in this tabs background and assign a vertical
> layout. Repeat for all other tabs. Finish with assigning a layout to the
> toplevel widget (I used grid, IIRC). Some tabs have misplaced spacers,
> compare with my mainframe.ui on how, *I think*, a sane layout should
> display.

   Thank you. I will compare the two .ui files to learn the differences.

Regards,

Rich


More information about the PyQt mailing list