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: 526
Registered: March 2007
Contributor
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: Thu Mar 28 17:18:56 CET 2024

Total time taken to generate the page: 0.02261 seconds