I put the TAniIndicator on my Android application. Problem is: the size. It defaults as 50x50px but look likes a 25x25px size. Is there something I can do to fix it?

Comments

  1. Assign a handler to OnApplyStyleLookup on the TAniIndicator:

    procedure TForm.IndicatorApplyStyleLookupHandler(Sender: TObject);
    var
    LImage: TImage;
    begin
    if (Indicator.ChildrenCount > 0) and (Indicator.Children[0] is TImage) then
    begin
    LImage := TImage(Indicator.Children[0]);
    LImage.WrapMode := TImageWrapMode.Stretch;
    end;
    end;

    ReplyDelete
  2. David Nottage Believe me, just today I tested it and works!! Thank you

    ReplyDelete

Post a Comment