brucey? wxsplitterwindow : sash gravity
BlitzMax Forums/Brucey's Modules/brucey? wxsplitterwindow : sash gravity
| ||
Hi, Is sash gravity implemented in the wxsplitterwindow widget? I've been trying to get this to work for an hour now, but I got nowhere. |
| ||
Yes it is. Try the splitter2 sample :-) (see menu option to set gravity - try 1, 0.5 and 0 - resize each time to see effect. |
| ||
Yes that works. I'm using a splitter on a splitter though. Might that be a problem? |
| ||
Might that be a problem? It shouldn't be :-) |
| ||
I found out that wxCodegen does not add a setsashgravity command in the exported code. All is well now! I now realise I have to be more cautious towards wxCodeGen. So far it has worked flawlessly. :) |
| ||
wxCodegen does not add a setsashgravity That's a bug then! I now realise I have to be more cautious towards wxCodeGen. Yes. It isn't perfect - there's a lot of widgets/variations that can be generated and it seems I might have missed some bits ;-) |
| ||
It's pretty good though :) |
| ||
Fixed. It's pretty good though Thanks. I've always like building code generators. (how nerdy does that sound?!) |
| ||
ha!, don't worry, you're among nerds here. I crated a code generator for my form editor GUIde some years back. It's fun to do. Code for code's sake. |