I finished a project by using `Layout DSL` ( the function `goodLayout` in <https://github.com/retsyo/wNim_sample/blob/master/bug_gui.nim> ), however the code is very long
I used `Layout DSL` because I still can't master `autolayout` well. Can anyone point out what is the problem in my following code(`badLayout` in <https://github.com/retsyo/wNim_sample/blob/master/bug_gui.nim)>? Thanks In my application, everything lives in `notebook`, the desired GUI seems like so firstly I write notebook[0].autolayout """ H:|-[staticbox1(staticbox2,cboxIndex,staticbox3)]-| V:|-[staticbox1(staticbox2,cboxIndex*5,staticbox3)]-[staticbox2]-[cboxIndex]-[staticbox3]-| """ Run which almost works as expected(all widgets have the same width; staticbox1~3 have save height, and equals to cboxIndex.height*5), but a flaw, or the first problem I met, is the space of staticbox1~left > staticbox2~left. then I add widgets layout inside staticbox1~3. In fact widgets inside staticbox1~2 have a similar layout notebook[0].autolayout """ H:|-[staticbox1(staticbox2,cboxIndex,staticbox3)]-| V:|-[staticbox1(staticbox2,cboxIndex*5,staticbox3)]-[staticbox2]-[cboxIndex]-[staticbox3]-| outer: staticbox1 V:|-[{file1:[textFile1,btnFile1]}(sheet1*2, cr1)]-{sheet1:[lblSheet1,cboxSheet1]}-{cr1:[lblCol1,txtCol1,lblStartRow1,txtStartRow1,lblEndRow1,txtEndRow1]}-| H:|-[file1(sheet1,cr1)]-| Run however, the new added widgets are not placed in staticbox1~3 at all! I have learned autolayoutEditor.nim coming with wNim source code, and struggled to write several version of my own `autolayout` code in my above application, but none works as expected :( So which part is misunderstood in my code? Thanks
