[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: My layout understanding needs improvement
From:       Rich Shepard <rshepard () appl-ecosys ! com>
Date:       2021-04-22 19:57:59
Message-ID: alpine.LNX.2.20.2104221256530.3476 () salmo ! appl-ecosys ! com
[Download RAW message or body]

On Thu, 22 Apr 2021, RoadrunnerWMC wrote:

> You *can* nest layouts in Qt, but you do it by adding the inner layout to
> the outer layout:

Roadrunner,

That's what I thought...

> group1 = qtw.QVBoxLayout()
> self.setLayout(group1)
> button_row = qtw.QHBoxLayout()
> group1.addLayout(button_row)

and I originally did this.

But python didn't like my syntax in places so I changed to a grid.

Thanks,

Rich
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic