[Gambas-user] Qt4 and Scaled property

Jussi Lahtinen jussi.lahtinen at ...626...
Sun Sep 6 15:26:35 CEST 2009


Hi again!
I have done some testing.
There is some problems with Gambas3 revision 2310 on Ubuntu 9.04 64bit.
My default font size for applications and desktop is 10.
Gambas tells that desktop.scale is 7 and application.font.size is 10.
When I change those font sizes to 8, Gambas gives desktop.scale 6
and application.font.size 8.
But it doesn't have effect on forms size!
I can even change font sizes so small I can't even read them, still
forms size are same.
Form property Scaled is true.

Jussi


On Sun, Sep 6, 2009 at 02:06, Jussi Lahtinen<jussi.lahtinen at ...626...> wrote:
> If I import Gambas2 project to Gambas3, form sizes are what is expected.
> So the problem is only with projects started (or converted long time
> ago) with old revision of Gambas3.
> I wish there are easy fix for that!
>
> Also I noticed bug from Gambas3 revision 2310 (or something with my system).
> If you change editor font (with me default was "-1 monospace") to "monospace".
> Cursor (text cursor, not mouse) in console doesn't keep up with text.
> Meaning, when I type "1234" to console, cursor blinks over "4", not after it.
> And it gets even worst when you keep on typing text.
> Strangely when I change font size to 10, console works as expected.
> I assume that "-1 monospace" is relative size and size 9 absolute size..?
>
> Jussi
>
>
> On Sat, Sep 5, 2009 at 17:46, Jussi Lahtinen<jussi.lahtinen at ...626...> wrote:
>>> Please give the value of Desktop.Scale and Application.Font.Size in the Qt3
>>> version of your project, and in the Qt4 version.
>>
>> Argh... I mixed up things. I thought that Qt3 is automatically changed
>> to Qt4 with new revision.
>> That's why I didn't update Gambas3 revision earlier.
>>
>> But OK, so the real problem is that I updated Gambas3, and now my
>> forms got bigger (still with Qt3).
>> In fact I think they all get bigger, but it's problem just with couple of forms
>> (don't fit to screen or dimensions are skewed related to graphics).
>> My earlier Gambas3 revision was OLD, I don't remember what it was...
>>
>>
>> Jussi
>>
>




More information about the User mailing list