[Lazarus] GTK2 GroupBox auto size

Michael Van Canneyt michael at freepascal.org
Mon Jul 7 13:37:32 CEST 2014



On Mon, 7 Jul 2014, zeljko wrote:

> On 07/07/2014 01:14 PM, Henry Vermaak wrote:
>> On Sun, Jul 06, 2014 at 01:40:53PM +0100, Henry Vermaak wrote:
>>> On Sat, Jul 05, 2014 at 01:03:19PM +0100, Henry Vermaak wrote:
>>>> On Sat, Jul 05, 2014 at 02:05:10PM +0300, Juha Manninen wrote:
>>>>> I applied the patch from Henry. I hope we get LCL-Win fixed, too.
>>>> 
>>>> Thanks.  I'll look into lcl-win, it'll need a GetPreferredSize with
>>>> MeasureText and some more magic to take the borders into account.
>>> 
>>> I've uploaded a patch to the bug report.  The hard coded numbers don't
>>> feel very good, but I haven't found a better way of doing it.  The other
>>> GetPreferredSize implementations in the file also seem to do that.
>> 
>> Since I can't reach the bug tracker, I'll attach the Qt patch here so
>> Zeljan can have a look.
>
> Seem that bugtracker is down.

Should be back up.

Michael.




More information about the Lazarus mailing list