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 » new behaviour of Splitter 608-dev2
new behaviour of Splitter 608-dev2 [message #5022] Thu, 31 August 2006 00:37 Go to next message
forlano is currently offline  forlano
Messages: 1071
Registered: March 2006
Location: Italy
Experienced Contributor
Hello,

with this code (always the same)
VegaMain::VegaMain()
{
	CtrlLayout(*this, VERSION);
	spls.Vert();
	spls.SetPos(8500);
	spls.Vert(tabs, consoleFrame); // <<<<<<!!!!!
	SetBars();
	SetTabs();
	Init();
	BackPaint();
	this->WhenClose = THISBACK(Exit); // prevent the closure
}

I get the following picture

index.php?t=getfile&id=238&private=0

The splitter split the area in two equal regions. With 608-dev1 and before instead the bottom part (consoleFrame) was only 15% of the total area and this was what I wanted. I'm trying to play with logical coordinate to reduce the consoleFrame area but without success. Any suggestion?

Luigi
  • Attachment: sincro_18.png
    (Size: 20.87KB, Downloaded 2943 times)
Re: new behaviour of Splitter 608-dev2 [message #5036 is a reply to message #5022] Thu, 31 August 2006 20:29 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 12105
Registered: November 2005
Ultimate Member
Quick fix: Put SetPos after Vert(...).

Anyway, should work even as it is. Investigating...

Mirek
Re: new behaviour of Splitter 608-dev2 [message #5037 is a reply to message #5036] Thu, 31 August 2006 20:34 Go to previous message
forlano is currently offline  forlano
Messages: 1071
Registered: March 2006
Location: Italy
Experienced Contributor
luzr wrote on Thu, 31 August 2006 20:29

Quick fix: Put SetPos after Vert(...).

Anyway, should work even as it is. Investigating...

Mirek

It works!
Thank you,

Luigi
Previous Topic: The case of the disappearing splitter.
Next Topic: splitter bounds
Goto Forum:
  


Current Time: Mon Nov 18 08:08:48 CET 2019

Total time taken to generate the page: 0.01508 seconds