Jump to content

Michal

Active subscription
  • Posts

    86
  • Joined

  • Last visited

  • Days Won

    3

Michal last won the day on May 2

Michal had the most liked content!

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Michal's Achievements

Enthusiast

Enthusiast (6/14)

  • First Post
  • Collaborator
  • Conversation Starter
  • Week One Done
  • One Month Later

Recent Badges

22

Reputation

3

Community Answers

  1. Looks fantastic. Will there be an event OnAnimationFinished or onAnimationProcess?
  2. Have you ever considered horizontal version of TfgCollectionView . Nice example is in IMDB app where movie list is scrolled horizontally. Michal
  3. Thanks. Very clear . I changed to AddQuadraticCurve and everything is ok now
  4. I think I found a solution. I used AddSmoothCurve (this is the function I used in FMX as on picture above) but in FGX i should have used AddQuadraticCurve
  5. I tried to make a path with and without Moveto. In upper paintbox i do MoveTo after first SmoothCurve. in lower after first curve is next SmoothCurve. You can see difference. What I want to get is on the next picture. I know that MoveTo breaks path but as you can see there is some difference. Maybe it is a control point? Project1.zip
  6. Well I tried to draw path without moveto but it was worse. What I am trying to do is to draw curvy line like the orange one you can see in picture. I'm using smoothcurveto with destination point at blue point and control point at the right of blue point at the same y in the middle of them. Without moveto lines look really strange. I know I can combine curves with rectangles and film them separately but in that case i cannot use gradient fill for whole figure. I also don't see that pen is at the last point. If you do moveto(0 0), lineto (100 100) and then lineto (200 200) second line will be drawn from 0 0 to 200 200 not from 100 100 to 200 200.
  7. I found something else. I don't know is it a bug or am I doing something wrong. I have a TfgPaintBox where I wanted to draw path. When I call Canvas.DrawPath path is drawn perfectly. When I call Canvas FillPath only part is drawn and it is a part created with AddSmoothCurve. I tried to fill path of simple rectangle but it is not filled . I am attaching project Michal Project1.zip
  8. Hi There is a problem with TfgArch. When SweepAngle is 360 (full circle) it is not drawn. With value greater than 360 only value-360 is drawn. I know I could use TfgCircle but I plan to use TfgArch as part of data chart so I need to use component with customized angle. Michal
  9. I will definately do that. By the way . Have you ever considered to make assets and styles name no case sensitive? I know I should be accurate but with accidental mistypes it can lead to some painfull debuging. Especially with TfgCollectionView when incorrect style leads to series of AV. And two another question : do you have any plans for animations? I have some animations achieved by loading xml file A:=TJAnimationUtils.loadAnimation(TfgAndroidHelper.Context,TfgAndroidHelper.GetResourceID('shake','anim')); but I have no idea how could I create such a xml data in runtime. I don't want to deploy xml with app do you plan to add text color property to pickers and calendar?
  10. Thank you. At first I thought I will try to port one of my app to FGX and see what happens. Now Im starting to port my third and cannot wait to fo the same to other ? Regards Michał
  11. No worries. I guess it produces error on terminating app which leads Android to "force stop" my app. I will download an update tomorrow. Anyway - your framework is fantastic . I really admire your work
  12. Hi I have a problem with asset manager and TfgButton. Application with one button generates an error 'The assets manager is being destroyed. However, not all assets links have released. count=2' I've spent 2 hours debugging . I thought it is something I'm doing wrong (I do some stuff with assets) but it happens with simple app with one button. I am attaching a sample. Some advice please ? Regards Michał Project2.zip
  13. Hi In version 1.6 there is a funny issue with TfgRectangle. When you set RadiusX and RadiusY in Corners then depending on CornerType rectangle is badly rendered. With CornerType=Bevel it is ok while with default CornerType=Round rectangle looks rather funny. You won't see it in designtime , only in runtime . I have attached a screenshot and demo project. With higher valus of radius the look of rectangle can differ from expaectations. With small values there is not difference between Bevel and Round. I use value of 15 and difference is visible It might lead to some headaches ? Regards Michał Project2.zip
×
×
  • Create New...