How to: ShowCaption:=false how show Glyph in TsBitBitton centered exactly ?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #36418
    Vector
    Participant

    How to: ShowCaption:=false, how show Glyph in TsBitBitton centered exactly ??? All manupulatioin with aligment dont take effect – Glyph has small offset

    #52964
    Vector
    Participant

    function TsBitBtn.TextRectSize: TSize;

    var

    R: TRect;

    DrawStyle: longint;

    begin

    if not ShowCaption then

    begin

    Result.cx := 0;

    Result.cy := 0;

    exit;

    end;

    …..

    #53042
    Support
    Keymaster

    Hello, Vector

    What version of used package? I can't repeat a wrong painting…

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.