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

[Gambas-bugtracker] Bug #3225: Paint.Richtext issues with master


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

Comment #1 by Bruce STEERS:

It fixes if I remove line 22 from RichTextText.class (gb.gui.base)  
https://gitlab.com/gambas/gambas/-/blob/master/comp/src/gb.gui.base/.src/RichText/RichTextText.class?ref_type=heads#L22

    Paint.Background = Background

In my programs I set Paint.Background before I call Paint.RichText() and Paint.RichTextShadow()

line 22 breaks that by resetting Background to Color.Default
Maybe it must not be removed but RichTextText.Background be initialised correctly?
You would know it's importance better being the one who wrote it :)
Respects



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