[Gambas-user] Gambas2 progs under Suse12.1 no window sizing
Benoît Minisini
gambas at ...1...
Sat Oct 13 13:32:08 CEST 2012
Le 13/10/2012 13:09, Rolf-Werner Eilert a écrit :
>
>
> Am 13.10.2012 10:26, schrieb Benoît Minisini:
>> Le 12/10/2012 20:11, Rolf-Werner Eilert a écrit :
>>> Hi folks,
>>>
>>> This really took me by surprise: I've setup a server with Suse 12.1
>>> 64bit and expected my current Gambas2 programs from the old server to
>>> run flawlessly like they do on my laptop (Suse 12.1 32bit).
>>>
>>> The main window appears, but I do not have the gadgets to draw the
>>> window to a larger size, and the full-screen button does not react.
>>>
>>> This is under all environments, from LxDE to KDE3 to KDE4, and with more
>>> than one user.
>>>
>>> I have no idea what could cause this, especially as it never made any
>>> trouble on my laptop. Maybe 64 vs 32 bits?
>>>
>>> If you have any idea - please tell me. We wanted to start with the thing
>>> next Tuesday...
>>>
>>> Thanks a lot!
>>>
>>> Rolf
>>>
>>
>> No idea... Do you resize your windows by code?
>>
>
> No. Actually, I feel a bit silly because it was my mistake.
>
> This morning I opened the projects in the IDE on the old system, and I
> found I actually had fixed the window(s). And now I know why: it was
> because of so many elements I didn't want to follow resizing. On the new
> system, however, it turns out to result in different sizes for fonts,
> window etc. so I will either have to adapt these or I will have to try
> to make it resizable.
>
> That's what I did the last hour, and it turned out to be possible, at
> least partly. Now I'll start the thing under the new system and see how
> it reacts.
>
> I still find it difficult to arrange everything as similar as it was
> before and yet make part of the elements follow resizing, others not. It
> involves a lot of panels lying on each other arranging their contents.
>
> Regards
>
> Rolf
>
Yes. You should actually avoid as much as possible doing fixed positions
and sizes from the start, because switching to a true dynamic
arrangement is a bit difficult as you noticed.
But I didn't find a way of putting controls randomly on a form, and let
it display correctly for any font size, screen resolution
automagically... :-)
--
Benoît Minisini
More information about the User
mailing list