Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2002-09

BitBtns seem to have a tiny dot on them ?

3 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

David Creelman

Hi,

Not a major thing, but TBitBtns have this on the left of them. Is this a problem with an initial blank glyph getting drawn strangely ?

Cheers
DC

Reply by email

Andrew Johnson
Not a major thing, but TBitBtns have this on the left of them. Is this a problem with an initial blank glyph getting drawn strangely ?

BitBtn's aren't Custom drawn like in Delphi or like SpeedButtons, they use a GTK Buttons packed with a Label and a Pixmap. I'm guessing the dot is something to do with the Pixmap, and/or the fact that Bitmap Streaming isn't finished. Eventually I believe BitBtn's will have to be Custom drawn as there is no equivalent of them in the Win32 API(AFAIK). Until then, I gues you just have to ignore this..

Andrew

_________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx

Reply by email

Mattias Gaertner
to Andrew Johnson
Show quoted text 12 lines
On 14 Sep 2002 00:55:27 +1000 David Creelman wrote: >Not a major thing, but TBitBtns have this on the left of them. Is this a >problem with an initial blank glyph getting drawn strangely ? BitBtn's aren't Custom drawn like in Delphi or like SpeedButtons, they use a GTK Buttons packed with a Label and a Pixmap. I'm guessing the dot is something to do with the Pixmap, and/or the fact that Bitmap Streaming isn't finished. Eventually I believe BitBtn's will have to be Custom drawn as there is no equivalent of them in the Win32 API(AFAIK). Until then, I gues you just have to ignore this..

I added a workwround to ignore 1x1 bitmaps for TBitBtn. The point is gone.

Mattias

Reply by email