Home » U++ TheIDE » U++ TheIDE: Layout (Forms)  Designer » Layout editor problem with Ctrl &  
	
		
		
			| Re: Layout editor problem with Ctrl & [message #31727 is a reply to message #31725] | 
			Mon, 21 March 2011 18:01    | 
		 
		
			| 
				
	 | 
 
	
		Hi Koldo 
 
I guess the only correct solution is to change CtrlLib/CtrlLib.usc, e.g. like this:ctrl DropTime {
	group "Input fields";
	GetMinSize() { sz = XMinSize(); sz.cy += 6; return sz; }
	GetStdSize() { sz = GetMinSize(); sz.cx *= 15; return sz; }
	Frame SetFrame = InsetFrame();
	bool  SetEditable = true @2 ? "Editable";
	bool  SelectAll = true;
	bool  SwapMonthYear = false;
	bool  Seconds = true;
	bool  NotNull = false;
	bool  WantFocus = true;
	Text  Tip;
//...
} 
Actually the same problem applies to other Ctrls as well (I saw it in at least in DropDate, Clock, Calendar). 
 
Honza
		
		
		
 |  
	| 
		
	 | 
 
 
 |  
  
 
Goto Forum:
 
 Current Time: Tue Nov 04 00:32:21 CET 2025 
 Total time taken to generate the page: 0.04781 seconds 
 |