code editor layout

All topics about ZGameEditor goes here.

Moderator: Moderators

Post Reply
User avatar
y offs et
Posts: 418
Joined: Wed Apr 22, 2009 4:26 pm
Location: BC, Canada

code editor layout

Post 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?
Attachments
LAYOUT.gif
LAYOUT.gif (7.91 KiB) Viewed 5753 times
User avatar
y offs et
Posts: 418
Joined: Wed Apr 22, 2009 4:26 pm
Location: BC, Canada

Post 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
Last edited by y offs et on Wed Feb 17, 2010 3:53 pm, edited 1 time in total.
"great expectations"
User avatar
Kjell
Posts: 1924
Joined: Sat Feb 23, 2008 11:15 pm

Post 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
User avatar
VilleK
Site Admin
Posts: 2371
Joined: Mon Jan 15, 2007 4:50 pm
Location: Stockholm, Sweden
Contact:

Post 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.
Post Reply