Diego Bittencourt
Diego Bittencourt

Reputation: 605

TAniIndicator bug?

When I use the component TAniIndicator in my app for Android, the Indicator sometimes (most of) show two indicators, one is the Android version, the other is a Windows version. This is a bug or I'm just forgeting to check something in the inspector?

A image to illustrate:

enter image description here

This is the code that I use to create the indicator in runtime:

aiEmpresa := TAniIndicator.Create(vsEmpresa);
aiEmpresa.Parent := vsEmpresa;
aiEmpresa.Align := TAlignLayout.Center;
aiEmpresa.Visible := true;
aiEmpresa.Enabled := true;

Upvotes: 3

Views: 798

Answers (1)

Diego Bittencourt
Diego Bittencourt

Reputation: 605

I fixed the problem with this command: aiEmpresa.StyleLookup := 'aniindicatorstyle';

Upvotes: 2

Related Questions