Divelements Community
Customer discussion of all Divelements products

ExplorerBarPane AutoLayoutChildren

Latest post 01-29-2006 14:42 by Tim Dawson. 1 replies.
  • 01-14-2006 2:41

    ExplorerBarPane AutoLayoutChildren

    Hi,

    I have a ExplorerBarPane with size (167x68), so I can put three controls (like the DemoApplication) without problems.

    Now, If I try to add more controls in runtime, what I can do to force ExplorerBarPane to autochange the size to correct layout the childrens ?

    Thanks,
    Alexnaldo Santos 

     

  • 01-29-2006 14:42 In reply to

    Re: ExplorerBarPane AutoLayoutChildren

    When you make a change that results in a resize of your child control(s), the layout engine will automatically lay them out as you correctly say. You need to manually call the FitContents method of your parent pane after this to have it resize itself around the new controls.

    We have added another property for the next build called AutoFitContents, which will automatically keep the pane just the right size to accommodate its child controls. This is used together with AutoLayoutChildren.

Page 1 of 1 (2 items) | RSS
Copyright © 2008 Divelements Limited
Powered by Community Server (Commercial Edition), by Telligent Systems