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 » GridCtrl: how to center Option?
GridCtrl: how to center Option? [message #60645] Tue, 18 June 2024 21:51 Go to next message
forlano is currently offline  forlano
Messages: 1207
Registered: March 2006
Location: Italy
Senior Contributor
Hello,

I know that

gridtb.AddColumn("normal", "", 4).Option();

create an Option centered in all rows. But I need the Option only in some cells.
I have created it in this way

gridtb.SetCtrl(0,3, new Option());

and it looks ugly (see picture).
index.php?t=getfile&id=6947&private=0

Is there a way to center it, or a better way to create it?

Thanks,
Luigi
  • Attachment: pic1.jpg
    (Size: 43.96KB, Downloaded 143 times)
Re: GridCtrl: how to center Option? [message #61738 is a reply to message #60645] Fri, 18 July 2025 19:46 Go to previous message
devilsclaw is currently offline  devilsclaw
Messages: 74
Registered: August 2022
Member
Set ShowLabel to false
Previous Topic: ArrayCtrl - index-less
Goto Forum:
  


Current Time: Sat Jul 19 08:04:18 CEST 2025

Total time taken to generate the page: 0.07329 seconds