[GB.FORM]

* BUG: The last column of a GridView with AutoResize set is not frozen 
  anymore when the number of columns grows.


git-svn-id: svn://localhost/gambas/trunk@4694 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
Benoît Minisini 2012-04-30 00:33:13 +00:00
parent a6e9f61ee1
commit 9a89d4c65b
2 changed files with 1 additions and 1 deletions

View file

@ -13,7 +13,6 @@ Environment="GB_GUI=gb.gtk"
TabSize=2
Translate=1
Language=en
Type=Component
Maintainer=David Villalobos Cambronero
Vendor=Princeton
Address=david_villalobos_c@yahoo.com

View file

@ -43,6 +43,7 @@ Private Sub Count_Write(Value As Integer)
If Error Then Error.Raise("Bad argument")
If Value > iOldCount Then
If GetView().AutoResize And If iOldCount Then $aColumns[iOldCount - 1]._W = 0
For I = iOldCount To Value - 1
$aColumns[I] = New _GridView_Column As "Column"
$aColumns[I]._Column = I