Hi,
On 24 Mar 2003 09:08:29 +1030
Robert Mibus <mibus@iprimus.com.au> wrote:
[snip]
> > First when you invoke _recalc, shouldn't the allocation be taken
> > from the GtkViewport (instead of the GtkScrolledwindow aka iconlist)
(actually it should be taken from the page_size)
> > ? see patch onclosed. It seems it fixes the "grow indefinitly
> > problem". But at first, it lays out only one column.
> Hmm... Maybe on the first _recalc, the Viewport hasn't picked up its
> size from the ScrolledWindow? That might be why it's picking up a
> small size...
right, that's what happens.
Also when adding/removing icons, the area is not always refreshed.
I'll have a look if I have time.
> If/when iconlist is moved to a GObject-container, the drawing may be
> pushed into the individual object's stuff, at which point iconlist is
> soley for the overall layout (columns, rows, width/height) and each
> 'iconlistitem' draws its own bits inside. (Which could theoretically
> allow fun stuff with iconlistitem subclasses doing their own
> specialised drawing, eg. CPU monitors etc. :-)
Sounds good.
Also it might be faster to rewrite that way, than fixing the above issues.
>
> Oh hey, BTW, if it's going to be used on largeish layouts, someone
> tell me (or fix themselves) so the background image can be tiled
> horizontally as well as vertically. ;-)
>
> I hope that helped a little... if you want something more specific,
> feel free to ask. If I can't help, just bash me around with your cool
> stick:
> > `·.¸¸.·´¯`·.¸¸.·´¯`·.¸¸.·´¯`·.¸¸.·´¯`·.¸¸.·´¯`·.¸¸.´¯`·.¸¸.´
:)
thanks for your help!
luc
`·.¸¸.·´¯`·.¸¸.·´¯`·.¸¸.·´¯`·.¸¸.·´¯`·.¸¸.·´¯`·.¸¸.´¯`·.¸¸.´
Received on Tue Mar 25 21:59:51 2003
This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:41:31 EDT