Jump to content

1.6.0.0 English


Yaroslav Brovin

Recommended Posts

  • Administrators

Download:
The distributive is available by request only.

Release date:

6 November 2020

Changelog:

~ Loss of backward compatibility:

  - The value TfgTextTrimming.Word was removed. This value is not supported by either iOS or Android and is not really used in mobile development, so we decided to remove it to avoid misleading developers.
  - Two new methods TfgCanvas.BeginPaint/EndPaint were added. Now you have to invoke it, when perform rendering on TfgBitmap canvas. These methods are required for correct rendering in iOS. If you are rendering in TfgBitmap, you need to frame the entire rendering in BeginPaint/EndPaint. Otherwise, you won't see the rendering result in iOS.
  - The TfgApplicationState type was moved from FGX.Platform -> FGX.Application.
  - Now the TfgProgressBar automatically uses autosize for height.
  - We completely redesign TfgButton component. All details here:
    https://forum.fgx-native.com/topic/569-%D0%BD%D0%BE%D0%B2%D0%BE%D1%81%D1%82%D0%B8-%D0%BF%D0%BE%D0%BB%D0%BD%D0%BE%D1%81%D1%82%D1%8C%D1%8E-%D0%BE%D0%B1%D0%BD%D0%BE%D0%B2%D0%BB%D0%B5%D0%BD%D0%BD%D1%8B%D0%B9-%D0%BA%D0%BE%D0%BC%D0%BF%D0%BE%D0%BD%D0%B5%D0%BD%D1%82-tfgbutton/
  - IFGXApplicationService.SupportedOrientations now uses changed TfgInterfaceOrientation type.

* TfgScreen:

  - New SafeAreaPadding property was added to TfgScreen. This allows you to get margins from the edge of the screen, where it is not recommended to place UI elements. For example, this way you can get the height of the system status bar and the height of the system navigation bar.

* TfgApplication:

  - Now you can get current application state via Application.State.
  - Now the Application can create form deffered. It's used only on iOS.
  - Implementation of blocking change of screen orientation Application.SupportedOrientations for Android at runtime.
    https://forum.fgx-native.com/topic/626-lock-screen-orientation-in-runtime/    
  
* TfgArc, TfgArch:

  - Sometimes StartAngle, SweepAngle and Depth properties could be not saved into form resource. Fixed.

* TfgButton:

  - We completely redesign TfgButton component. All details here:
    https://forum.fgx-native.com/topic/569-%D0%BD%D0%BE%D0%B2%D0%BE%D1%81%D1%82%D0%B8-%D0%BF%D0%BE%D0%BB%D0%BD%D0%BE%D1%81%D1%82%D1%8C%D1%8E-%D0%BE%D0%B1%D0%BD%D0%BE%D0%B2%D0%BB%D0%B5%D0%BD%D0%BD%D1%8B%D0%B9-%D0%BA%D0%BE%D0%BC%D0%BF%D0%BE%D0%BD%D0%B5%D0%BD%D1%82-tfgbutton/

* TfgCheckBox, TfgRadioButton:

  - New property LetterSpacing was added.

* TfgEdit:

  - When using ReturnKeyType = Next, the next focus element is selected among all controls of the application's open forms. Fixed.
    https://forum.fgx-native.com/topic/609-%D0%BA%D1%83%D1%80%D1%81%D0%BE%D1%80-%D0%BF%D1%80%D1%8B%D0%B3%D0%B0%D0%B5%D1%82-%D0%BC%D0%B5%D0%B6%D0%B4%D1%83-edit%D0%B0%D0%BC%D0%B8-2-%D1%83%D1%85-%D1%84%D0%BE%D1%80%D0%BC/?tab=comments#comment-2345

* TfgCollectionView:

  - New property ColumnWidth was added. It allows to know column width.
  - New helper methods were added:
    - GetSelectionColor - returns selection color for item by index.
    - IsSelectableItem - is item selectable or not.
  - New event OnMovedItem was added. It's invoked, when item is moved on new position via Drag and Drop.
  - TfgCollectionView.OnTap doesn't work on empty content space. Fixed.
    https://forum.fgx-native.com/topic/614-tfgcollectionview-ontap-event-doesnt-work/

* TfgWebBrowser:

  - Now component supports Basic-authentification.
  - New sample: "Components" -> "TfgWebBrowser" -> "Basic-authentification".

* TfgCanvas:

  - Two new methods TfgCanvas.BeginPaint/EndPaint were added.
  - New methods were added for easier drawing round rectangles: TfgCanvas.DrawRoundRect/FillRoundRect.

* TfgPath:

  - The internal presentation of SVG path was updated. Now the implementation is more flexible
  - Now the TfgPath stores all command parameters.
  - Minor bugs were fixed, which could be found on rendering complicated shapes.

* TfgBitmap:

  - The new property TfgBitmap.LogicalBounds was added.

* TfgPageControl:

  - Text color was not applied in designer. Fixed.
  - When you added/removed pages, text settings were lost. Fixed.
    https://forum.fgx-native.com/topic/602-runtime-pages-creation

* TfgProgressBar:

  - Under certain circumstances, the value of the Min property could not be set. Fixed.
  - The Autosize property was added.
  - Нельзя было обратно вернуть цвета оттенков BackgroundTintColor и TintColor. Исправлено. 

* TfgDrawerLayout:

  - Any time a component was moved/hidden in TfgDrawer, the panel was automatically closed. Fixed.
    https://forum.fgx-native.com/topic/603-%D0%B4%D0%B2%D0%B0-%D0%B8-%D0%B1%D0%BE%D0%BB%D0%B5%D0%B5-%D0%BC%D0%B5%D0%BD%D1%8E/?tab=comments#comment-2332
  - When adding a component to the form, its component parts were not named. This meant that the events of these components could not be used. Fixed.
    https://forum.fgx-native.com/topic/593-%D0%BE%D1%88%D0%B8%D0%B1%D0%BA%D0%B0-%D0%BF%D1%80%D0%B8-%D1%81%D0%BE%D0%B7%D0%B4%D0%B0%D0%BD%D0%B8%D0%B8-%D1%81%D0%BE%D0%B1%D1%8B%D1%82%D0%B8%D0%B9-%D0%B2-%D0%B4%D0%B8%D0%B7%D0%B0%D0%B9%D0%BD%D0%B5%D1%80%D0%B5-%D0%B4%D0%BB%D1%8F-%D1%87%D0%B0%D1%81%D1%82%D0%B5%D0%B9-tfgdrawerlayout/

* Form Designer:

  - The dark theme supports were added.
  - Now when you press on any components on form, designer shows special hint with component name.

* Assets designer:

  - After re-opening the project and making changes to the assets Manager, all assets could be lost. Corrected.

* New project wizard:

  - New Android platform was added "Android11".
  - The usage Android version statistics were updated.

* Demos:

  - "Application" -> "SupportedOrientations"
  - "Components" -> "TfgWebBrowser" -> "Basic-authentification".
  
* The new unit FGX.Types.Color for working with color was added.

* Android Api:

  - New headers were added: 
    - android.graphics.Outline, 
    - android.graphics.drawable.GradientDrawable, 
    - android.graphics.drawable.ShapeDrawable, 
    - android.graphics.drawable.shapes.Shape
    - android.graphics.drawable.shapes.RectShape,
    - android.graphics.drawable.shapes.RoundRectShape
  • Like 4
Link to comment
Share on other sites

×
×
  • Create New...