[MonoDevelop] Changing layout when widget is built - limits to stetic editor
m.j.hutchinson at gmail.com
Wed Oct 28 16:48:34 EDT 2009
On Wed, Oct 28, 2009 at 10:34 AM, alanb <alan.battersby at ntlworld.com> 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.
More information about the Monodevelop-list