yangyxd / FMXUI

FMX跨平台基础UI库
MIT License
261 stars 96 forks source link

How to stop the items animation when scrolling the TListViewEx put on a TPopup #28

Closed GaNacereddine closed 3 years ago

GaNacereddine commented 3 years ago

If I put the TListViewEx on a TPopUp and scroll. there is an item animation happening when scrolling (the items slid from the side to their position). I would like to stop that and let the items scroll the classic way.

this only happens if I put the list on a TPopup.

KngStr commented 3 years ago

I did not see the animation. Would you upload a simple demo?

GaNacereddine commented 3 years ago

listItemAnime this is the effect I'm seeing

KngStr commented 3 years ago

Did you use UI.Frame in the sub frame? If so, remove it or set the default animate to be none.

GaNacereddine commented 3 years ago

Yes that was the solution thank you very much.

I also have some problems showing some SVG images in your TImageView, they are not rendered correctly, can you tell me what is the proper way to report them and how can I contribute to this repo if I want to fix them. I mean the list of units I should see if I want to tackle the bugs or lack of features in the SVG parser.

KngStr commented 3 years ago

@GaNacereddine

You are welcome.

The SVG problem seems like Delphi's bug. It draw lines or rectangles not correctly. If you are intresting to fix it, you should look at UI.Utils.SVGImage

GaNacereddine commented 3 years ago

Okay thank you very much. I will close the issue now and see what I can do for the parser.