[Gambas-user] odd qt behaviour with scrollview

Bruce Steers bsteers4 at gmail.com
Wed Feb 21 02:30:35 CET 2024


Ahh i fixed it.

seems qt needs the Board selector for the hide when it closes

if i put in FBoardList.class

Public Sub Form_Close()

  $hParent.Visible = True
  Me.Hide()

End

then all is okay

Respects
BruceS

On Tue, 20 Feb 2024 at 22:19, Bruce Steers <bsteers4 at gmail.com> wrote:

> So I've made a Klotski like game thats getting close to completion but
> have just found a glitch i cannot solve.
>
> It's called Blockski+ and is on the farm or can be found here
> https://forum.gambas.one/viewtopic.php?t=1696
> (I cannot attach it to this post as it is too big)
>
> see the attached picture to see the problem.
>
> The project has a form (the board selector) that hides the main panel and
> shows a selection panel.
>
> then when the selection panel closes it hides and the main panel shows
> again.
>
> running with gtk2 and 3 when it shows again it is like the top picture as
> expected.
>
> with qt it is like the bottom one. only half a scrollview.
> I've tried a few things to correct it but cannot at present.
>
> Any ideas ?
> any advise appreciated
>
> BruceS
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20240221/0ba725f0/attachment.htm>


More information about the User mailing list