[Gambas-user] QT gui no longer working correctly! I think...

Brian G brian at westwoodsvcs.com
Mon Apr 4 16:03:34 CEST 2022


Thanks Bruce,
   I will make that change and see what happens.
--
Thanks
Brian G Monday, 04 April 2022, 03:35AM -07:00 from Bruce Steers  bsteers4 at gmail.com :

>
>
>On Mon, 4 Apr 2022 at 11:18, Bruce Steers < bsteers4 at gmail.com> wrote:
>>
>>
>>On Sun, 3 Apr 2022 at 21:26, Brian G < brian at westwoodsvcs.com> wrote:
>>>Using mint 20.3
>>>Creating forms from within my app dynamically.
>>>setting the env to gtk looks like this and works correctly:
>>>Setting the env to qt looks like this and does not respond to any mouse inputs. All text is shifted to the left off screen.
>>>
>>>Has anyone else seen this behavior.
>>
>>I can reproduce that behavior if i do the following...
>>Manually make a form with size 400x100 and do not set .Arrangement
>>Then manually add a button with same size 400x100
>>Like your picture shows on QT there is a gap but not in GTK
>>
>>But if i set Arrangement = Arrange.Fill (or any other arrange setting than None) then no problem
>
>Maybe it's a scaling issue?
>
>It seems to work when i make the button and do not set .Width / Height but use the ResizeScaled method...
>
>myForm = New Form
>myForm.W = 400
>myForm.H = 100
>
>b = New Button(myForm)
>b.ResizeScaled(400, 100)
>
>Respects
>BruceS
>
>
>----[  http://gambaswiki.org/wiki/doc/netiquette ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20220404/684cccc5/attachment.htm>


More information about the User mailing list