Thread: GUIs
View Single Post
  #8  
Old 08-06-2008, 09:46 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by Inverness View Post
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.
I agree, I can probably create GUIs faster without the GUI editor, actually.
__________________
Reply With Quote