Not sure if this is a bug or a feature set that way.
I've got this bcp button (from the BGRA Button controls palette).
Here are the relevant properties:
object BCButton1: TBCButton
Left = 36
Height = 68
Top = 12
Width = 116
//State properties omitted
Caption = 'Font'
Color = clNone
DropDownWidth = 16
DropDownArrowSize = 8
GlobalOpacity = 255
Glyph.Data = {Glyph data goes here}
GlyphAlignment = bcaCenterTop //<== this is where I think I'm having a problem
PreserveGlyphOnAssign = False
GlyphMargin = 0
//Round properties omitted
end
end
I thought that by setting GlyphAlignment to bcaCenterTop, I would get the caption to lineup under the glyph (see the first attached image. The caption there is New, not Font, but it illustrates what I'm trying to achieve). Instead, changing the value of GlyphAlignment has no effect. Is this a bug, or do I misunderstand the purpose of this property? How could I get the caption to line up tightly under the glyph?