Thread: GUIs
View Single Post
  #7  
Old 08-06-2008, 02:19 PM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
I never use the Gui Editor. First because I like things styled my own way the first time. Second because when I create the controls I always set their positions and extents relative to something else rather than a specific point.

Example:
TheScrollCtrl.x = 6;
TheScrollCtrl.y = 24;
TheScrollCtrl.width = TheWindow.width * 0.35;
TheScrollCtrl.height = TheWindow.height - 24 - 6;
ThePanelCtrl.x = TheScrollCtrl.x + TheScrollCtrl.width + 6;
ThePanelCtrl.y = 24;
ThePanelCtrl.width = TheWindow.width - TheScrollCtrl.width - 6 - 6;
ThePanelCtrl.height = TheScrollCtrl.height;

Easier to do that and more complicated stuff without Gui Editor.
__________________
Reply With Quote