Warmonger wrote:You could always add a quick check to the form, and see if the #PB_Window_SizeGadget or the #PB_Window_MaximizeGadget flag is used. If it is then check if any gadgets have a "Lock Right/Top/Bottom" option set. If so generate the re-size function automatically, if not then don't generate the re-size function. This will speed up having to go in and out of the preferences to make different style forms. I would still leave the option in the preferences just change it to something like "Generate resize procedure where applicable?".
It's a good idea, now the resize function is generated when needed, and the Init function doesn't have the resize parameters anymore (this means, however, that old project containing locked gadget won't load properly - sorry!). I removed the preference has it doesn't make sense to use locked gadget and not generate a resize procedure (plus any locked states would be lost when saved if the resize procedure wasn't generated). It's much better this way and the generated code is indeed cleaner (and faster).
Warmonger wrote:- TrackBar Windows 8 skin missing.
It seems the tracker resizes according to the height on Windows 8, well maybe on previous versions as well actually. That was why I didn't do it, will do it later!
Warmonger wrote:- Preference box on side menu takes up most of sidebar on startup. Toolbox & Preferences should be a 50/50 split.
Fixed (splitter positions are now correctly recorded/retrieved).
Warmonger wrote:- Design view scrollbars are bugged (resize design window beyong design veiw).
I think it works now.
Warmonger wrote:- Code view scrollbars not disabled by default (same issue reported earlier with design view).
No improvement on the code view anymore I'm afraid, I'm focusing on the core drawing and code generation - code view is likely to go in the end if this project is merged with the IDE.
Warmonger wrote:- WindowWidth() and WindowHeight() should be eradicated from the main InitWindow_0() procedure. As they seem to be only used inside the ResizeGadget procedure, in which they are already called.
Done, see first answer.
Warmonger wrote:- All plain white box gadgets should display what they are in text on the gadget. Like the Calendar/Canvas/Explorer Tree gadgets already do (ListView, Tree).
- Calendar Gadget missing black border. Maneuvering it around in design view across other controls is tough on the eyes.
Done unless I forgot something!
Many thanks for this thorough testing!!
