[Gambas-user] GridView

Gareth Bult gareth at ...1689...
Mon Jan 21 19:00:31 CET 2008


Hi, 

If I take a form which contains a GridView, which has expand set, the gridview will expand / contract with the main window. 

Unfortunately, "sometimes" when resizing the main window, the GridView element won't correctly calculate it's width causing the horizontal scrollbar to appear and a small portion of the header to be chopped off. 

This happens with Qt and Gtk. 

To reproduce, create an empty form, add gridview, turn headers and expand on. 

Add to form open 

grid.Columns.Count = 4 
grid.Columns[0].Text = "Col1" 
grid.Columns[1].Text = "Col2" 
grid.Columns[2].Text = "Col3" 
grid.Columns[3].Text = "Col4" 
grid.Rows.Count = 3 


Graphics attached. 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot-bugtest1.png
Type: image/png
Size: 6262 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20080121/30283f02/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot-bugtest2.png
Type: image/png
Size: 5623 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20080121/30283f02/attachment-0001.png>


More information about the User mailing list