|
|
Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » How to create a GridCtrl with fixed cell size
Re: How to create a GridCtrl with fixed cell size [message #15965 is a reply to message #15964] |
Tue, 20 May 2008 09:07   |
|
Please do following corrections to your code:
in Layout()
for (int i = 0; i < w; i++)
grd.AddColumn("").AlignBottom();
and in PopulateGrid()
//section 1
for (int i = 0 ; i < h; i++)
grd.AddRow(1, CellHeight);
Now everything should work. Height() is a only sytnax sugar. It dosn't couse grid refresh, rows heights recaluclation. However it can be confusign. I'll think about it. Align* for particualr row doesn't work now. I'll fix that in the next release.
|
|
|
 |
|
How to create a GridCtrl with fixed cell size
|
 |
|
Re: How to create a GridCtrl with fixed cell size
By: mrjt on Mon, 19 May 2008 12:23
|
 |
|
Re: How to create a GridCtrl with fixed cell size
|
 |
|
Re: How to create a GridCtrl with fixed cell size
By: mrjt on Mon, 19 May 2008 12:48
|
 |
|
Re: How to create a GridCtrl with fixed cell size
|
 |
|
Re: How to create a GridCtrl with fixed cell size
|
 |
|
Re: How to create a GridCtrl with fixed cell size
By: unodgs on Mon, 19 May 2008 17:25
|
 |
|
Re: How to create a GridCtrl with fixed cell size
|
 |
|
Re: How to create a GridCtrl with fixed cell size
By: unodgs on Mon, 19 May 2008 19:56
|
 |
|
Re: How to create a GridCtrl with fixed cell size
By: mrjt on Mon, 19 May 2008 18:09
|
 |
|
Re: How to create a GridCtrl with fixed cell size
|
 |
|
Re: How to create a GridCtrl with fixed cell size
By: unodgs on Tue, 20 May 2008 08:19
|
 |
|
Re: How to create a GridCtrl with fixed cell size
By: unodgs on Tue, 20 May 2008 09:07
|
 |
|
Re: How to create a GridCtrl with fixed cell size
By: mrjt on Tue, 20 May 2008 10:49
|
 |
|
Re: How to create a GridCtrl with fixed cell size
By: unodgs on Tue, 20 May 2008 11:13
|
 |
|
Re: How to create a GridCtrl with fixed cell size
|
 |
|
Re: How to create a GridCtrl with fixed cell size
By: mrjt on Tue, 20 May 2008 14:28
|
 |
|
Re: How to create a GridCtrl with fixed cell size
By: unodgs on Tue, 20 May 2008 15:33
|
 |
|
Re: How to create a GridCtrl with fixed cell size
|
 |
|
Re: How to create a GridCtrl with fixed cell size
By: unodgs on Tue, 20 May 2008 17:43
|
 |
|
Re: How to create a GridCtrl with fixed cell size
|
 |
|
Re: How to create a GridCtrl with fixed cell size
By: unodgs on Wed, 21 May 2008 15:58
|
 |
|
Re: How to create a GridCtrl with fixed cell size
|
 |
|
Re: How to create a GridCtrl with fixed cell size
By: unodgs on Wed, 21 May 2008 17:45
|
 |
|
Re: How to create a GridCtrl with fixed cell size
|
 |
|
Re: How to create a GridCtrl with fixed cell size
By: unodgs on Thu, 22 May 2008 12:10
|
 |
|
Re: How to create a GridCtrl with fixed cell size
|
 |
|
Re: How to create a GridCtrl with fixed cell size
By: mrjt on Thu, 22 May 2008 18:38
|
 |
|
Re: How to create a GridCtrl with fixed cell size
|
 |
|
Re: How to create a GridCtrl with fixed cell size
By: mrjt on Fri, 23 May 2008 11:14
|
 |
|
Re: How to create a GridCtrl with fixed cell size
|
 |
|
Re: How to create a GridCtrl with fixed cell size
|
 |
|
Re: How to create a GridCtrl with fixed cell size
By: unodgs on Sat, 24 May 2008 19:32
|
 |
|
Re: How to create a GridCtrl with fixed cell size
|
 |
|
Re: How to create a GridCtrl with fixed cell size
|
 |
|
Re: How to create a GridCtrl with fixed cell size
By: unodgs on Mon, 09 June 2008 10:08
|
 |
|
Re: How to create a GridCtrl with fixed cell size
By: unodgs on Mon, 19 May 2008 17:23
|
 |
|
Re: How to create a GridCtrl with fixed cell size
By: unodgs on Mon, 19 May 2008 12:34
|
Goto Forum:
Current Time: Tue Apr 29 23:24:50 CEST 2025
Total time taken to generate the page: 0.01400 seconds
|
|
|