Jump to content

Michal

Active subscription
  • Posts

    105
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by Michal

  1. I tried to import svg created with Inkscape but I got " SVG File is not supported". However it is correctly rendered in preview on the left side but not on the form. I have attached sample (had to change extension to txt) test svg.txt
  2. Looks fantastic. Will there be an event OnAnimationFinished or onAnimationProcess?
  3. Have you ever considered horizontal version of TfgCollectionView . Nice example is in IMDB app where movie list is scrolled horizontally. Michal
  4. Thanks. Very clear . I changed to AddQuadraticCurve and everything is ok now
  5. 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
  6. 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
  7. 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.
  8. 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
  9. 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
  10. 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?
  11. 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ł
  12. 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
  13. 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
  14. 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
  15. Can't wait for 1.6. Do you know when it is expected to be released?
  16. Hi I have a restaurant software that runs on very different devices. Some of them are small where best screen orientation is portrait but some users with large tablet prefer landscape orientation. I cannot lock orientation in runtime. I tried to set Application. SupportedOrientations:=[TfgInterfaceOrientation.Portrait,TfgInterfaceOrientation.ReversePortrait]; but it doesn't seem to work I can't set it in manifest, this has to be user decision Regards Michał
  17. Hi I need TfgCollectionView to respond to onTapItem event and OnTap. I am using view to display list of items. In OnTapItem event I reload view with different items. I wanted to add behavior when user taps on empty space after items. I thought OnTap would be right place but it is not firing. I tried to move to OnTouch but still no luck. Only event that is fired os OnTapItem. I have attached sample whow it works. Is it possible to fire both events Regards Michał Project2.zip
  18. Hi I found a small bug I guess. When you create page control pages in runtime parent TfgPageControl does not apply TitleTextSettings. When for example you set title font color to red newly created pages will have black color. Simple workaround is to set fontcolor to null and then to desired color. I have attached simple project with explanations; regards Michał Project1.zip
  19. I am also waiting for international version. Actually i could work wit current release if I could only buy subscription. Anyway congratulations on your work.
×
×
  • Create New...