[Gambas-user] Issues related to Frame

Benoît Minisini g4mba5 at gmail.com
Sun Apr 25 08:13:11 CEST 2021


Le 25/04/2021 à 06:11, Ed & Clare Kelm a écrit :
> On 4/16/21 4:01 AM, Benoît Minisini wrote:
>> Le 16/04/2021 à 12:51, Benoît Minisini a écrit :
>>>>
>>>> 2) The children controls of frame in gambas 3.16 have been pushed
>>>> downwards. Thus the controls in bottom part of frame are not visible
>>>> in older gambas qt5 applications (compiled in gambas 3.15) and we have
>>>> to forced to rearrange the contents of all frames for new gambas
>>>> version.
>>>
>>> Indeed. The bug was that you could put controls on the frame, which 
>>> was not a good idea. But for backward-compatibility, I can do the 
>>> same weird thing.
>>>
>>
>> In commit 
>> https://gitlab.com/gambas/gambas/-/commit/81ce4a63b28226a5e3c4d59cfd89f7bb180b4703, 
>> I implemented an intermediate solution:
>>
>> - If Frame has no arrangement, then I do like before: the controls can 
>> span the entire Frame area.
>>
>> - If Frame has arrangement, then I move controls down, to prevent them 
>> covering the frame label.
>>
>> I hope it will be enough for you.
>>
>> Regards,
>>
> Bemoit:
> 
> I had the same problem with a QT4 project, and your new release fixed 
> it.  Thanks!
> 
> However, another possibly related problem is that the allowed width for 
> the frame label seems to have shrunk.
> 
> I have a frame title of "Configuration:" with a frame width =126
> 
> Before the change the title displayed properly.
> After the change it is displayed as "Configurat..."
> 
> Any easy fix other than changing all my frame widths to fit the titles?
> 
> Thanks!
> 
> Ed K.
> 

Nope, it's your fault: your GUI must not use fixed dimensions, otherwise 
changing the font size will break it anyway.

Regards,

-- 
Benoît Minisini


More information about the User mailing list