[Gambas-user] gridview row heights when cell is wrapped
Benoît Minisini
gambas at ...1...
Wed May 1 13:10:09 CEST 2013
Le 01/05/2013 08:05, Bruce a écrit :
> On Mon, 2013-04-29 at 17:09 +0200, Benoît Minisini wrote:
> \
>>
>> Mmm, strange... Can you make a little project that reproduces the bug
>> for me?
>>
> [Repost: I don't know whether the reproduction project actually made
> it?]
> B
>
The problem comes from the fact that the GridView contents layout is
delayed, and so the column has not yet its final width during the
Form_Open() event handler, or in the constructor.
Note that this is not the case with gb.gtk.
I will investigate to understand why there is a difference, but I don't
think I will be able to guarantee when the last GridView column will
have its final size.
Maybe the solution could be that setting -1 to a row height acts like a
flag.
--
Benoît Minisini
More information about the User
mailing list