Changing layout when widget is built - limits to stetic editor

View: New views
2 Messages — Rating Filter:   Alert me  

Changing layout when widget is built - limits to stetic editor

by alanb :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
My program has run out of screen real estate at 1024 x 768 resolution (someone testing my program uses this resolution and its bound to be used when I finally release my code).  So I want to look at the screen resolution and alter the layout accordingly. This will me mainly to split large panels and place parts into tabs. So I thought that I would write two widgets one for 1024 x 768 and the other for higher resolutions and choose which to realize according to screen resolution.

I am using Monodevelop 2.2 beta, so my question is how much of this can I do in stetic? Is there a way to add stuff into the generated files that wont be overwritten when the UI is generated, or must I do it all by hand and even am I going about this the right way?!!

This is a non commercial project ( a retirement hobby ).
Thanks

Alan

Re: Changing layout when widget is built - limits to stetic editor

by Michael Hutchinson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, Oct 28, 2009 at 10:34 AM, alanb <alan.battersby@...> wrote:

> My program has run out of screen real estate at 1024 x 768 resolution
> (someone testing my program uses this resolution and its bound to be used
> when I finally release my code).  So I want to look at the screen resolution
> and alter the layout accordingly. This will me mainly to split large panels
> and place parts into tabs. So I thought that I would write two widgets one
> for 1024 x 768 and the other for higher resolutions and choose which to
> realize according to screen resolution.
>
> I am using Monodevelop 2.2 beta, so my question is how much of this can I do
> in stetic? Is there a way to add stuff into the generated files that wont be
> overwritten when the UI is generated, or must I do it all by hand and even
> am I going about this the right way?!!

I would suggest using stetic to design parts of your UI as one-off
custom composite widgets, then create the window in code that create a
main window and adds/removes these widget panels as necessary.

--
Michael Hutchinson
http://mjhutchinson.com
_______________________________________________
Monodevelop-list mailing list
Monodevelop-list@...
http://lists.ximian.com/mailman/listinfo/monodevelop-list