Hollywood display inside a scrollgroup
Posted: Thu Feb 06, 2020 3:11 pm
Hi,
I have a question. I have a hollywood display inside a scrollgroup. it works great because if the display is bigger than available space, there are scrollbars created automatically and I can freely scroll the display as intended.
But whenever I change the display size, which is done usually by loading a new background pic via LoadBGPic (so the display automatically scales to fit the size of the new BGPic) the whole RapaGUI app window shrinks to the window of approx 400x20 pixels. It can be easily solved by by maximizing window by clicking on the gadget but I'm just curious why's that so...
In my case it's like this (just an excerpt):
So the initial RapaGUI window is set in my xml source to be 1300x700 and it opens in that resolution with my 800x600 display prefectly visible in full size. But then I load a new pic via LoadBGPic and when I call DisplayBGPic, it displays it but immediately after the window is set to the minimal 400x20 as I wrote previous...
I have a question. I have a hollywood display inside a scrollgroup. it works great because if the display is bigger than available space, there are scrollbars created automatically and I can freely scroll the display as intended.
But whenever I change the display size, which is done usually by loading a new background pic via LoadBGPic (so the display automatically scales to fit the size of the new BGPic) the whole RapaGUI app window shrinks to the window of approx 400x20 pixels. It can be easily solved by by maximizing window by clicking on the gadget but I'm just curious why's that so...
In my case it's like this (just an excerpt):
Code: Select all
@DISPLAY {Width=800, Height=600}
<scrollgroup>
<hollywood Display="1"
</scrollgroup>