This forum is temporaily read-only. All existing discussions remain available for reference. For new questions, bug reports or support requests, please contact us at mail@lmdsupport.com.

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

  • > 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...

  • 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.