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>>

_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to