Print Page | Close Window

[solved] Docking Pane Caption Space

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Docking Pane
Forum Description: Topics Related to Codejock Docking Pane
URL: http://forum.codejock.com/forum_posts.asp?TID=23426
Printed Date: 29 March 2024 at 3:38am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: [solved] Docking Pane Caption Space
Posted By: cpede
Subject: [solved] Docking Pane Caption Space
Date Posted: 28 August 2017 at 7:57am
As can be seen using the Ribbon Sample and Office theme a vertical gab underneath the docking pane caption exist.



I want to have the content of the docking pane right up to the caption, but there is a gab. In the sample a dialog is added to the pane containing a list. Even though I move the list to a top position of 0, there still is a gab.

How do I get rid of the vertical gab?

-cpede




-------------
Product: Xtreme ToolkitPro (20.3.0)
Platform: Windows 10 (x64)
Language: Visual Studio 2017 (C++)



Replies:
Posted By: cpede
Date Posted: 04 September 2017 at 2:02am
Any comments from CJ?

-------------
Product: Xtreme ToolkitPro (20.3.0)
Platform: Windows 10 (x64)
Language: Visual Studio 2017 (C++)


Posted By: olebed
Date Posted: 01 March 2018 at 3:52pm
Hello cpede,

This gap is splitter. You can set it to several pixels, but then it will be hard to catch splitter.
  m_paneManager.SetTheme(nTheme);
  m_paneManager.SetClientMargin(nMargin);
  m_paneManager.GetPaintManager()->m_nSplitterSize = XTP_DPI_Y(1);

Also in Office2013 and 2016 are gap under CaptionBar in DockingPane. It can be changed by setting desirable rectangle in INI files  in section
[DockingPane]  
  CaptionMargin = 5 5 5 0

Regards,
 Oleksandr Lebed


Posted By: olebed
Date Posted: 05 March 2018 at 11:11am
I have changed that rectangle to {5 0 5 0} in all Office2013 and Office2016 INI files.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net