[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gambas-bugtracker] Bug #2881: Dynamical created TextBox rejects any dynamic font manipualtion while designer created TextBox supports dynamic font manipulation.


http://gambaswiki.org/bugtracker/edit?object=BUG.2881&from=L21haW4-

Steffen PLOETZ reported a new bug.

Summary
-------

Dynamical created TextBox rejects any dynamic font manipualtion while designer created TextBox supports dynamic font manipulation.

Type             : Bug
Priority         : Medium
Gambas version   : 3.19
Product          : GUI components


Description
-----------

This doesn't work:
Dim $oTextArea = New TextArea(Me) As "ctrlTextArea"
$oTextArea.Font.Grade = 12

This doesn't work either:
Dim oFont As Font = New Font("Liberation Serif, Bold, 24")
$oTextArea.Font = oFont

This also doesn't work:
$oTextArea.Font = ctrlLogTextArea.Font

This is the output i see, wen i try to apply the 'Font' or 'Font.Grade' property:
(org.gambas.148519:148519): Gtk-WARNING **: 12:50:10.523: Theme parsing error: <data>:1:5: Expected a valid selector


System information
------------------

Gambas 3.19.0; X11; GTK3 
Manjaro Vulcan 23.1.3; xfdesktop; GTK 45.1


----[ Gambas bugtracker-list is hosted by https://www.hostsharing.net ]----