Well, that 0 certainly isn’t good.  The only thing I can think of is that 
setting the column widths is failing on GTK because the parent isn’t yet sized.

I’ve put some debug code in.  If anyone gets a chance to run it (with a 
breakpoint only in ZONE_SETTINGS::SetupLayersList()) and report the before and 
after column sizes that would be great.

Cheers,
Jeff.


> On 21 Jul 2018, at 21:51, Seth Hillbrand <[email protected]> wrote:
> 
> Hi Jeff-
> 
> minWidth = 30
> layersWidth = 0
> 
> Breakpoints set on the last line of each routine.
> 
> Best-
> Seth
> 
> Am Sa., 21. Juli 2018 um 09:56 Uhr schrieb Jeff Young <[email protected] 
> <mailto:[email protected]>>:
> Set two breakpoints:
> one near the end of ZONE_SETTINGS::SetupLayersList()
> and one near the end of DIALOG_COPPER_ZONE::DIALOG_COPPER_ZONE()
> Run PcbNew and edit the properties of a zone.
> 
> When the breakpoints hit, I need to know the value of minWidth from 
> ZONE_SETTINGS::SetupLayersList() and layersWidth from 
> DIALOG_COPPER_ZONE::DIALOG_COPPER_ZONE().
> 
> (I’m not sure whether the calculations are failing, or if the layout is 
> failing with a correctly set minWidths.)
> 
> Thanks,
> Jeff.
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers 
> <https://launchpad.net/~kicad-developers>
> Post to     : [email protected] 
> <mailto:[email protected]>
> Unsubscribe : https://launchpad.net/~kicad-developers 
> <https://launchpad.net/~kicad-developers>
> More help   : https://help.launchpad.net/ListHelp 
> <https://help.launchpad.net/ListHelp>

_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to