Hi I searched the BugTracker and couldn't find a similar report. Porting our Delphi app to Lazarus, I am now busy with the dialogs. We use a TImage aligned to Top, with a gradient bitmap loaded. We use this for our dialog titles. The gradient bitmap is normally 700x1 in dimension, and we stretch it to cover the TImage. This beats having to create a custom component that does gradient fills (though if you know of any, please let me know).
Anyway, loading the bitmap, it leaves a gap on the left side un-drawn. At runtime, if I resize the dialog, that gap varies in size for some strange reason. Stumped by this behaviour, I later tried a .xpm file instead of a .bmp file. Strangely enough it works perfectly with the .xpm file. Attached are some screenshots. Does anybody else experience this, and can I report this as a bug? I am running Lazarus 0.9.13 (from a week ago), FPC 2.0.2 on Windows 2000. Regards, - Graeme -
ScreenShot1.png
Description: PNG image
ScreenShot2.png
Description: PNG image
ScreenShot3.png
Description: PNG image
ScreenShot4.png
Description: PNG image
