Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

How can I control how two docking panels are positioned with the DockSite?

At present the dock panels stack up at one end or the other.  I would like to be able to position them e.g. equivalent to moving the splitter bar so that all panels initially have an equal fraction of the docksite height.  I tried setting the height of the individual panels but that didn't do it I presume because one of the panels is aligned to alClient but there is no way of knowing which panel that is.
Tagged:

Comments

  • 1 Comment sorted by Votes Date Added
  • Layout is controlled via dock zone tree, which can be accessed using Site.RootZone. Zone class provides Width and Height properties, which can be set to values you need (some of values can be ignored, e.g. Height will be ignored is panels are aligned horizontally, only Width will matter in this case).
Sign In or Register to comment.