[Libreoffice] setting the background color of an Edit

Michael Meeks michael.meeks at suse.com
Mon Dec 5 02:50:39 PST 2011


On Sun, 2011-12-04 at 19:05 +0100, Markus Mohrhard wrote:
> It seems that does not work for an Edit. I can set the font color with
> SetForegroundColor but the SetBackgroundColor has no effect. I now
> solved the problem by changing the color of the FixedText I use for
> the information text. That is not that nice but better than nothing
> and I have not enough time to fix the bug.

	:-) in these cases, I'd (personally) tend to read the rendering code
for the edit control:

	vcl/source/control/edit.cxx /ImplClearBackground/

	is prolly your friend ;-) thanks for fixing the bug though !

	HTH,

		Michael.

-- 
michael.meeks at suse.com  <><, Pseudo Engineer, itinerant idiot



More information about the LibreOffice mailing list