Page 1 of 1

code editor layout

Posted: Thu Feb 11, 2010 11:08 pm
by y offs et
Messing around with rev 153 of the source code, I re-arranged the components of the code editor. My reason for doing this is because more than once I have gone to click/drag the bottom slider and hit the OK (no problem) or the help (problem) button.

This layout works better I think, however making it work right has a problem. If the log window is widened, it covers the buttons. I figure the master knows how to prevent that.

Another problem I have encountered is that, if for some reason, you shrink the code editor width to 0, you can't get it back without restarting the editor. I think this can be solved by setting a minimum width for the window, but again, the master knows.

You like?

Posted: Wed Feb 17, 2010 3:36 pm
by y offs et
Villek, you really have to do something about setting minimum sizes for the various components of the editor. Just now I accidentally set the preview to the right edge,and it locked out the log window. Restarting the editor didn't work, so I had to delete the .ini file.

Edit - now that's an idea :P

||
V

Posted: Wed Feb 17, 2010 3:44 pm
by Kjell
:?

The editor could use some work yes .. I personally have a whole directory of ZGameEditor.ini files with all kinds of preview resolutions ( 1280x720 / 640x360 / 480x272 etc ) which I deploy depending on what I'm working on. Not terribly convenient .. but it beats setting up your layout every time by hand.

K

Posted: Thu Feb 18, 2010 1:55 pm
by VilleK
I've now tried to set minimum width to 100 for the panels but there still seems to be problems sometimes so it could be a bug in Delphi that cause this.