Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


Hey,

I'm currently struggling a bit with the vcl drawing code for an Edit.
My problem is that as soon as I see the background color of the edit
it is no drawn quite ugly because the border is drawn first and then
the background color is drawn. The problem is in line
vcl/source/control/edit.cxx:544 which should clear the control but
also draws the border and 559 which uses a different size for the edit
field.

Does anyone have a clue if this is really the right way. Personally I
would suspect that the border should be drawn after the background
color and that the border and the rectangle for the background color
should have the same size.

Attached is a small screenshot that shows the problems with the current code.

Any ideas if my ideas is wrong?

Regards,
Markus

Attachment: edit_drawing_problem.png
Description: PNG image


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.