|
|
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 #16337 is a reply to message #16205] |
Mon, 09 June 2008 10:08   |
|
cbpporter wrote on Mon, 02 June 2008 05:06 | A secondary issue appeared in cases when after a layout change which resulted in a scrollbar the user executed another one: the top row would not be updated on scroll.
So I decided to investigate GridCtrl and I found the solution to both problems. After calling Ready(false), a Clear(true) does not update the scrollbar information, so that computations done in layout still have the scrollbar size included, because of the way GetSize investigates the frame count to return the adjusted size.
So the issues can be solved by either swapping the order of the Ready and Clear call, or by calling UpdateScrollbars after the clear.
|
The problem is UpdateSb in Clear is called when grid is in ready state, but I think it can be called always - then you will get proper values in your Layout method. I will commit the change today to uvs.
|
|
|
 |
|
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 19:54:02 CEST 2025
Total time taken to generate the page: 0.00726 seconds
|
|
|