Jump to content

Is there any easier way to make GUI?


uyjulian

Recommended Posts

Short of writing a framework to do auto-layout of GUI widgets (it would be a considerable service to the modding community if someone did that!), no, not really.

 

My current technique is to draw a mockup of the GUI using Intaglio, put dimension lines all over it, and then transcribe the dimensions into constants in the code.

 

You can also help yourself by writing code to do some of the layout calculations. For example, if you have a row of buttons all the same size, write a loop to lay them out.

Link to comment
Share on other sites

I usually throw one component at a fixed size and location on the screen, then I render it and look at the size of it compared to the screen and other elements. Then i look at my drawing of how I want the GUI to look like, trying to think of which proportions things need to be scaled to in order to fit the screen inn a suitable way.

 

The annoying thing is that once the main setup of the GUI is done, like all the components are inn somewhat correct place and scale and I start to fine tune and adjust small details I have to restart the application(re-run) in order to see the effect which makes it quite tedious. :P

If you guys dont get it.. then well ya.. try harder...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.