[Gambas-Notification] [Git][gambas/gambas][master] 2 commits: Add CheckBox and RadioButton Invert property. Fix resize against arrangement...

Benoît Minisini gitlab at mg.gitlab.com
Thu Mar 4 22:47:16 CET 2021



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


Commits:
efb9da55 by gambas at 2021-03-04T22:38:21+01:00
Add CheckBox and RadioButton Invert property. Fix resize against arrangement and GTK painting on DrawingArea and UserControl.

[GB.GTK]
* BUG: Fix DrawingArea and UserControl painting.
* NEW: CheckBox.Invert is a new property that put the check mark on the other side.
* NEW: RadioButton.Invert is a new property that put the radio button on the other side.
* NEW: Font.TextSize() is a new method that returns the text width and height as a rectangle.
* NEW: Font.RichTextSize() is a new method that returns the rich text width and height as a rectangle.
* BUG: Font.RichTextWidth() now takes a width optional argument like RichTextHeight().
* OPT: Control resize now ignores new width or height if its container constraints it.

[GB.GTK3]
* NEW: CheckBox.Invert is a new property that put the check mark on the other side.
* NEW: RadioButton.Invert is a new property that put the radio button on the other side.
* NEW: Font.TextSize() is a new method that returns the text width and height as a rectangle.
* NEW: Font.RichTextSize() is a new method that returns the rich text width and height as a rectangle.
* BUG: Font.RichTextWidth() now takes a width optional argument like RichTextHeight().
* OPT: Control resize now ignores new width or height if its container constraints it.

[GB.QT4]
* NEW: CheckBox.Invert is a new property that put the check mark on the other side.
* NEW: RadioButton.Invert is a new property that put the radio button on the other side.
* NEW: Font.TextSize() is a new method that returns the text width and height as a rectangle.
* NEW: Font.RichTextSize() is a new method that returns the rich text width and height as a rectangle.
* BUG: Font.RichTextWidth() now takes a width optional argument like RichTextHeight().
* OPT: Control resize now ignores new width or height if its container constraints it.

[GB.QT5]
* NEW: CheckBox.Invert is a new property that put the check mark on the other side.
* NEW: RadioButton.Invert is a new property that put the radio button on the other side.
* NEW: Font.TextSize() is a new method that returns the text width and height as a rectangle.
* NEW: Font.RichTextSize() is a new method that returns the rich text width and height as a rectangle.
* BUG: Font.RichTextWidth() now takes a width optional argument like RichTextHeight().
* OPT: Control resize now ignores new width or height if its container constraints it.

- - - - -
235fbbe7 by gambas at 2021-03-04T22:46:29+01:00
Label and TextLabel: Fix autoresize.

[GB.GUI.BASE]
* BUG: Label and TextLabel: Fix autoresize.

- - - - -


30 changed files:

- comp/src/gb.gui.base/.src/Label.class
- gb.gtk/src/CButton.cpp
- gb.gtk/src/CContainer.cpp
- gb.gtk/src/CDrawingArea.cpp
- gb.gtk/src/CFont.cpp
- gb.gtk/src/gbutton.cpp
- gb.gtk/src/gbutton.h
- gb.gtk/src/gcontainer.cpp
- gb.gtk/src/gcontainer.h
- gb.gtk/src/gcontrol.cpp
- gb.gtk/src/gcontrol.h
- gb.gtk/src/gdrawingarea.cpp
- gb.gtk/src/gmainwindow.cpp
- gb.gtk/src/gmainwindow.h
- gb.gtk/src/gpanel.cpp
- gb.gtk/src/gscrollbar.h
- gb.gtk/src/gslider.cpp
- gb.gtk/src/gslider.h
- gb.gtk/src/gtools.cpp
- gb.gtk/src/gtools.h
- gb.qt4/share/gb.form.properties.h
- gb.qt4/src/CCheckBox.cpp
- gb.qt4/src/CContainer.h
- gb.qt4/src/CFont.cpp
- gb.qt4/src/CRadioButton.cpp
- gb.qt4/src/CWidget.cpp
- gb.qt4/src/CWidget.h
- gb.qt4/src/Makefile.am
- gb.qt4/src/fix_breeze.cpp → gb.qt4/src/fix_style.cpp
- gb.qt4/src/fix_breeze.h → gb.qt4/src/fix_style.h


View it on GitLab: https://gitlab.com/gambas/gambas/-/compare/960490b9929f91d05b9ad971b751598feb641e6d...235fbbe70d756f8b67349f8a649d74f0da13e648

-- 
View it on GitLab: https://gitlab.com/gambas/gambas/-/compare/960490b9929f91d05b9ad971b751598feb641e6d...235fbbe70d756f8b67349f8a649d74f0da13e648
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/notification/attachments/20210304/7af4700e/attachment.htm>


More information about the Notification mailing list