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 » U++ Widgets - General questions or Mixed problems » two state button via layout designer
Re: two state button via layout designer [message #3461 is a reply to message #3459] Thu, 25 May 2006 23:10 Go to previous messageGo to previous message
forlano is currently offline  forlano
Messages: 1207
Registered: March 2006
Location: Italy
Senior Contributor
luzr wrote on Thu, 25 May 2006 22:51

Please try this fix:

CtrlLib/CtrlLib.usc, line 328:

ctrl Option {
	group "Push";

	Text   SetLabel ? @1 "Option text";
	>Base;


(the difference is "@1", which moves that method "to the right" after ThreeState etc...)

Mirek


Yes, it works. Now I get the sequence
	ITEM(Option, oMyOption, ThreeState(true).SetLabel(t_("my option")).LeftPosZ(60, 68).TopPosZ(16, 15))

That seems better as threestate works immediatly without workaround.

Luigi
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: simple text_edit
Next Topic: Stripping unnecessary classes
Goto Forum:
  


Current Time: Sun Jun 08 11:39:58 CEST 2025

Total time taken to generate the page: 0.03480 seconds