[Gambas-user] First look at Gambas 3

Michael mdavies5 at ...169...
Sun Dec 5 00:22:34 CET 2010


Benoit
Thanks for your help. I attach 2 screenshots showing the color selectors 
which appear from Form/Properties/Background.
They appear to use different color palettes. Gambas2 palette is similar 
to the default Desktop theme used in Ubuntu Maverick which was valid 
when I installed Gambas2. The Gambas3 palette is similar to my current 
desktop theme. Interestingly note also the different sizes of the 
dialog. Both screen shots taken on same machine at same resolution. As a 
general rule the move from 2 to 3 has detracted from the UI beauty. 
However, that is a subjective opinion, others may disagree.
Regards
Michael

On 05/12/10 03:21, Benoît Minisini wrote:
>> Benoit,
>> The output from Valgrind is attached. I added the leak-check option to
>> give you more information.
> Thanks, but there is no memory access error reported in your valgrind log. Can
> you check that you ran it in the same context?
>
>> The application was just automatically
>> generated by Gambas 3 with Fform to which I added 1 menu item with no
>> action code. The same bug appears in an app I ported from gambas2.
>>
>> On unrelated matters re: Porting from Gambas 2 to Gambas 3. I have the
>> following problems.
>> 1. The color options offered in Gambas 3 are different to Gambas 2. All
>> my pale blue forms are now pink.
> Can you give me a more precise example?
>
>> 2. I used font Ubuntu +1 for QT text boxes in G2. In Gambas 3 the same
>> font appears huge. I had to change it to ubuntu -1.  In a Frame control
>> the font is always bold in G3 but in G2 I could set it to 'normal'
>> without problem.
> All font size "+1,-1,+2..." are relative to the default font size, which may
> be not the same between Gambas 2 (that uses Qt3) and Gambas 3 (that uses Qt4).
> To check that, you must configure your Qt library with the qtconfig program.
> The way to install and run it depends on the distribution.
>
>> 3. All the forms copied from G2 were reduced in size. This was probably
>> caused by the Desktop.Height which I use to format forms based on video
>> resolution.
> No. The form and controls dimensions are proportional to the default font
> height. The multiplication factor has changed in Gambas 3 and is lower. If you
> need absolute dimensions in a form, set the Form.Scaled property to False in
> the IDE.
>
>> My system is 1680*1050 resolution and G2 reports
>> Desktop.height as 1050. G3 reports desktop height as 1002! The desktop
>> width is reported correctly. Have you changed the method of measuring
>> desktop.height?
> No. Desktop.Width and Desktop.Height actually returns the screen size, unless
> you use the gb.desktop component. Then they return the usable screen size,
> which is the screen size minus the desktop panels dimensions.
>
> I admit that keeping the same names is a stupid idea. Maybe I will change the
> gb.desktop component, and use other names.
>
> Regards,
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Gambas2.png
Type: image/png
Size: 18178 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20101205/ad625aa3/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Gambas3.png
Type: image/png
Size: 43382 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20101205/ad625aa3/attachment-0001.png>


More information about the User mailing list