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 » ArrayCtrl, HeaderCtrl & GridCtrl » ButtonHeight limited by StdFont in ArrayCtrl
Re: ButtonHeight limited by StdFont in ArrayCtrl [message #45534 is a reply to message #45532] Fri, 27 November 2015 16:50 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14267
Registered: November 2005
Ultimate Member
You have not defined the position/size of widget, means it was left in 'default' (also, you can improve your style around One::Create Smile

void MakePlus(One<Ctrl>& ctrl)
{
	Button& b = ctrl.Create<Button>();
	b.WantFocus(false);
	b.SetStyle(*no_style);
	b.SetImage(Img::plus());
	b.SizePos();
}
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: ArrayCtrl: Grid
Next Topic: Column width in percentage
Goto Forum:
  


Current Time: Thu Aug 14 11:59:24 CEST 2025

Total time taken to generate the page: 0.19978 seconds