Re: easy dialog resizing

From: Justin Rogers (Justin_at_games4dotnet.com)
Date: 11/03/04


Date: Wed, 3 Nov 2004 11:47:34 -0800

Anchor points only allow for you to dynamically resize or move a
single control within any vertical or horizontal layer. This is heavily
limiting, especially if you want a feature like growing two controls
that are side by side and maintaining 50% of the space and a given
separate of say 5 pixels from the edge and 5 in between.

The layout controls in Whidbey are a bit better, but still lack some
basic functionality in my opinion (like justification). Here is a focus
on some different types of layouts and their shortcomings.

http://weblogs.asp.net/justin_rogers/archive/2004/11/03/251473.aspx

-- 
Justin Rogers
DigiTec Web Consultants, LLC.
Blog: http://weblogs.asp.net/justin_rogers
"Maloney" <nope@nope.com> wrote in message 
news:ewiNfrdwEHA.1260@TK2MSFTNGP12.phx.gbl...
> Looks like anchor points will do the trick.  I didn't know visual studio 
> already had this ability.
>
> thanks for the reply Justin.
>
> "Justin Rogers" <Justin@games4dotnet.com> wrote in message 
> news:OED6r6UwEHA.1400@TK2MSFTNGP11.phx.gbl...
>> Layout managers are fairly easy to create. If you want a sample of a layout 
>> manager in action then you
>> can examine my PDDrop code that I've placed on Project Distributor. I made 
>> the layout manager to
>> allow me an easier time laying out my forms. Some simple changes can provide 
>> better features and I'm
>> more than happy to split the layout manager code into a separate project and 
>> start supporting it.
>>
>> http://markitup.aspxconnection.com/Projects/Project.aspx?projectId=26
>>
>> The application itself won't matter much to you, but the layout features may. 
>> Again, let me know and I
>> can split it out and support it.
>>
>>
>> -- 
>> Justin Rogers
>> DigiTec Web Consultants, LLC.
>> Blog: http://weblogs.asp.net/justin_rogers
>>
>> "Maloney" <nope@nope.com> wrote in message 
>> news:OfcTRdUwEHA.3108@TK2MSFTNGP14.phx.gbl...
>>> Does anybody know of a library in c# that will aid in making resizable 
>>> dialogs?
>>>
>>> Similar to
>>> http://www.gipsysoft.com/articles/dialogsizer/
>>> http://www.codeproject.com/dialog/easysize.asp
>>>
>>> but in c#
>>>
>>
>>
>
> 


Relevant Pages

  • Re: doing control layout in awt
    ... How do you expect to 'layout' your controls ... without a 'layout manager'? ... Planning on ...
    (comp.lang.java.programmer)
  • Re: doing control layout in awt
    ... >> I want to layout my controls on the Applet without using any layout ... > without a 'layout manager'? ...
    (comp.lang.java.programmer)
  • Re: Dream GUI toolkit (Was: GUI programming.)
    ... Most auto layout systems I've worked with can calculate a minimum size ... I've never thought that controls disappearing or ... getting obscured just because of the window size is a particularly ... Most auto layout systems can do this pretty well. ...
    (comp.programming)
  • Re: Dream GUI toolkit (Was: GUI programming.)
    ... or let some layout engine take ... I think the thing that both you and Chris might be missing is that auto ... controls are placed on the screen. ... designer control over how the buttons are arranged. ...
    (comp.programming)
  • Re: A time for patience
    ... For the type of apps you are bullding, I wouldn't even consider managed code. ... I tend to build middleware and rich client apps. ... The Designer supports both fixed layout and fully expanding forms. ... It tries to do everything for you and likes to size the controls based on what they hold so getting a aligned grid form setup is a little difficult. ...
    (borland.public.delphi.non-technical)