![]() |
Bug - Floating Panes & Skins |
Post Reply
|
| Author | |
Simon HB9DRV
Senior Member
Joined: 07 July 2005 Location: Switzerland Status: Offline Points: 458 |
Post Options
Thanks(0)
Quote Reply
Topic: Bug - Floating Panes & SkinsPosted: 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
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 03 September 2007 at 7:07am |
|
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 |
Post Options
Thanks(0)
Quote Reply
Posted: 04 September 2007 at 8:49am |
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 |
Post Options
Thanks(0)
Quote Reply
Posted: 04 September 2007 at 8:52am |
|
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 |
Post Options
Thanks(0)
Quote Reply
Posted: 04 September 2007 at 9:31am |
|
The full project (your modified sample)
|
|
|
Simon HB9DRV
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 04 September 2007 at 1:28pm |
|
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 |
Post Options
Thanks(0)
Quote Reply
Posted: 04 September 2007 at 1:54pm |
|
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 |