Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » Splitter » Splitter SetPos bug ?
Re: Splitter SetPos bug ? [message #24460 is a reply to message #24350] Mon, 18 January 2010 10:21 Go to previous messageGo to previous message
Tom1
Messages: 1212
Registered: March 2007
Senior Contributor
Hi,

I noticed your trouble with splitter and as I tinkered with it recently I thought I should take a look at it.

Re-order:

splitter.Horz().SetPos(100).Set(pageList, pagePane);


to:

splitter.Horz().Set(pageList, pagePane);
splitter.SetPos(100);


..and your code works. The reason is that in Splitter::Layout, newly added panels cause a re-initialization of splitter position array. I do not think that I did that change... I hope.

// Tom
 
Read Message
Read Message
Read Message
Previous Topic: Splitter transparent background
Next Topic: Colored drag margin for Splitter
Goto Forum:
  


Current Time: Tue May 07 09:28:23 CEST 2024

Total time taken to generate the page: 0.02143 seconds