![]() |
Bug - Floating Panes & Skins |
Post Reply ![]() |
Author | |
Simon HB9DRV ![]() Senior Member ![]() ![]() Joined: 07 July 2005 Location: Switzerland Status: Offline Points: 458 |
![]() ![]() ![]() ![]() ![]() Posted: 30 August 2007 at 8:22am |
Take the Docking Panes/Pane Sample, apply a skin (add the code to do this). In my case:
Now float a couple of panes (2 and 5).
Save layout to a file (Docking Pane / Loyout / Save To File).
Load this file - the floating panes lose a few pixels of their height.
Very easy to reproduce
![]() |
|
Simon HB9DRV
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
Do you call LoadSkin in constructor of CMainFrame ?
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Simon HB9DRV ![]() Senior Member ![]() ![]() Joined: 07 July 2005 Location: Switzerland Status: Offline Points: 458 |
![]() ![]() ![]() ![]() ![]() |
Not in the constructor, in CMainFrame::OnCreate after panes have been created.
|
|
Simon HB9DRV
|
|
![]() |
|
Simon HB9DRV ![]() Senior Member ![]() ![]() Joined: 07 July 2005 Location: Switzerland Status: Offline Points: 458 |
![]() ![]() ![]() ![]() ![]() |
I tried the constructor - still the same problem.
I'll ZIP the whole project for you if that helps - it's your sample with skins added.
It's an annoying bug but I can live with it, howveer I'm sure you will want to fix it (or fix me).
![]() |
|
Simon HB9DRV
|
|
![]() |
|
Simon HB9DRV ![]() Senior Member ![]() ![]() Joined: 07 July 2005 Location: Switzerland Status: Offline Points: 458 |
![]() ![]() ![]() ![]() ![]() |
The full project (your modified sample)
|
|
Simon HB9DRV
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
Thanks. Fixed for 11.2
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Simon HB9DRV ![]() Senior Member ![]() ![]() Joined: 07 July 2005 Location: Switzerland Status: Offline Points: 458 |
![]() ![]() ![]() ![]() ![]() |
Thanks Oleg, I knew it was easy :-)
|
|
Simon HB9DRV
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |