Re: constraints and size hints

2012-02-14 Thread Aaron J. Seigo
On Tuesday, February 14, 2012 10:45:50 Ignat Semenov wrote: > a)Do I need to set the size in constraintsEvent for the FormFactor change? yes; the size hint is just a hint. > b)Do I need to set a size in sizeHint if constraintsEvent already has a > setMinimumSize? it's just a hint, not a hard siz

Re: constraints and size hints

2012-02-13 Thread Ignat Semenov
Well, yes, my bad. My apologies. OK, so here are the issues: 1)I'd like to understand the relation between constraintsEvent() and sizeHint(). In order to achieve the correct effect for the FolderView (always $icon_size wide, whatever tall, centered vertically when in a horizontal panel, and vi

Re: constraints and size hints

2012-02-13 Thread Aaron J. Seigo
On Sunday, February 12, 2012 20:28:31 Ignat Semenov wrote: > Is there any docs on constraints and size hints? The documentation for the > constraintsEvent method is empty (!!) err in the header: /** * Called when any of the geometry constraints have been updated. *