LCL: Bug+Fix, GTK drawing not accurate
Original Reporter info from Mantis: >8<
-
Reporter name: Bug Import
Original Reporter info from Mantis: >8<
- Reporter name: Bug Import
Description:
As I am a PixelCounter (ErbsenZaehler in German), I found/fixed some bugs, mostly related to incorrect calculations of Right and Width, Bottom and Height.
gtkwinapi.inc
procedure ...Framed3d
..
gtk_paint_shadow(....Arect.Right-Arect.Left+1, //add 1
Arect.Bottom-Arect.Top+1
procedure ...DrawFrameControl
same problem on 3 or 4 places
Fixing this gives much cleaner user interfaces and consistent behaviour, ie
Width:=Right-Left+1;
Height:=Bottom-Top+1;
Additional information:
Imported information
--------------------
Name: Claude Rieth
Mail: clrieth (at) team.lu
Mantis conversion info:
- Mantis ID: 148