[Gambas-Notification] [Git][gambas/gambas][master] Paint.TextHeight is a new property that returns the height of one line of...

Benoît Minisini gitlab at mg.gitlab.com
Sat Oct 26 01:10:31 CEST 2019



Benoît Minisini pushed to branch master at Gambas / gambas


Commits:
65d2b783 by gambas at 2019-10-25T23:06:18Z
Paint.TextHeight is a new property that returns the height of one line of text, and Paint.FontScale is now "transparent".

[GB.DRAW]
* NEW: Paint.TextHeight is a new property that returns the height of one line of text. This is not the same as Paint.Font.Height, as the device resolution is taken into account.

[GB.GTK]
* NEW: Paint.FontScale is now "transparent". Paint.Font.Size is not changed anymore when assigning the Paint.Font property.

[GB.GTK3]
* NEW: Paint.FontScale is now "transparent". Paint.Font.Size is not changed anymore when assigning the Paint.Font property.

[GB.QT4]
* NEW: Paint.FontScale is now "transparent". Paint.Font.Size is not changed anymore when assigning the Paint.Font property.

[GB.QT5]
* NEW: Paint.FontScale is now "transparent". Paint.Font.Size is not changed anymore when assigning the Paint.Font property.
* BUG: Utility windows now kept being in front of their parent window correctly.

- - - - -


4 changed files:

- gb.gtk/src/cpaint_impl.cpp
- gb.qt4/src/CWindow.cpp
- gb.qt4/src/cpaint_impl.cpp
- main/lib/draw/cpaint.c


View it on GitLab: https://gitlab.com/gambas/gambas/commit/65d2b783fe91c8309bb11132842c1f3bcf06b06b

-- 
View it on GitLab: https://gitlab.com/gambas/gambas/commit/65d2b783fe91c8309bb11132842c1f3bcf06b06b
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/notification/attachments/20191025/e490150e/attachment.html>


More information about the Notification mailing list