I want to add some text to an image in Gimp with the Text Tool, such that the background of the text layer (a rectangle) is of a fixed color instead of the default transparent background to make the text more readable.
I can get it to work by duplicating the layer and using bucket then merging layers, or by removing alpha and color mapping, but those methods are cumbersome, and if I want to edit the text further, I have to start from scratch.
Is there a better method where I can just type and have the background the color that I want it and still be able to edit the text freely, i.e. without rasterizing the text first, and have the background of my chosen color automatically resize to the text?
I saw this question: Can I change the default Gimp transparent background to white? but I don't see how to change the fill type of a text layer, which gets automatically created when I start using the Text Tool.
Tested in Gimp 2.10.18.