Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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;
like image 426
Diego Bittencourt Avatar asked Jan 22 '26 05:01

Diego Bittencourt


1 Answers

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

like image 194
Diego Bittencourt Avatar answered Jan 23 '26 18:01

Diego Bittencourt



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!