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 » Autosizing columns
Re: Autosizing columns [message #35966 is a reply to message #35945] Mon, 09 April 2012 22:08 Go to previous messageGo to previous message
Lance is currently offline  Lance
Messages: 373
Registered: March 2007
Senior Member
Hi, nixnixnix!

You can probably use ArrayCtrl's WhenLeftDouble, check if mouse position is close to column boundary, ie, +/- 3 pixels. It's not ideal, but a tiny bit more convenient than use a menu. And it will not work for the right most column.

By default, ArrayCtrl use StdFont(), and if you used customized Display for a column, you should have it report the desired width.

HTH
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: GridCtrl: how to set label of an Option
Next Topic: ArrayCtrl: How to use WhenDropCell...
Goto Forum:
  


Current Time: Sat Jan 23 00:03:33 CET 2021

Total time taken to generate the page: 0.01222 seconds