Howdy, Stranger!

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

In this Discussion

LMDDockPanel header height when undocked

Is it possible to make the header of an undocked LMDDockPanel smaller, like the header of a VCL Form?
My panel-headers are about 4 times bigger than the header of VCL forms.

And a second problem:
A LMDDockPanel at top of Form includes a Toolbar (WPTools Toolbar).
If i make the Window smaller the Toolbar wraps the icons to a second line and Toolbar.height becomes double height as before.

Is it possible to set the LMDDockPanel.height in OnResize event of the Panel?


Comments

  • 4 Comments sorted by Votes Date Added
  • > My panel-headers are about 4 times bigger than the header of VCL forms.

    Screenshot would be nice to understand your issue. Generally, this can be achieved only via creation of a custom style.

    Is it possible to set the LMDDockPanel.height in OnResize event of the Panel?

    Its not possible to restrict panel size.
  • Thank you!

    I have found that other styles makes smaller window-headers , but i don't find this setting in the style xml files.

    I attach a screenshot from undocked document, please tell me where this setting is in xml file...

    jpg
    jpg
    window.jpg
    29K
  • Posts: 0 Accepted Answer Vote Up0Vote Down
    The size is calculated automatically, and depend of font size, buttons size, and different margins. Try to adjust sizes and/or margins in the following two elements:
    • DocForm (CaptionContent, ect)
    • DocFormButton (GroupContent, Width, Height)

  • Thank you, i found it
Sign In or Register to comment.