X-CUBE-TOUCHGFX 4.21.0 is out
TouchGFX 4.21.0 is now out.
Please follow this link to download it.
Attention : TouchGFX Designer 4.21.0 MUST be used with STM32CubeMX 6.7.0 or higher (link to download STM32CubeMX 6.7.0)
* Release date: December 19th, 2022
* New TouchGFX Designer Features:
* TouchGFX Stock added. Free designs, images and icons provided within
TouchGFX Designer.
* Access to material icons made by Google.
* New SVG Image widget.
* New image picker for all image-related widgets.
* New preset picker for browsing themes and presets.
* Mouse coordinates shown when hovering canvas.
* New action for setting border color on box with border widget.
* Now able to navigate widget menu using arrow keys.
* Progress indicator widgets now support two new triggers, ValueUpdated and
ValueUpdatedCompleted.
* Ability to close current project from file menu.
* Designer now remembers start up and save folder.
* Added tooltips for visibility and lock buttons in tree view of canvas.
* Added new icon for lock button in tree view of canvas, to make it more
clear if a widget is locked or unlocked.
* Added delay property to move and fade actions.
* Bugfixes in TouchGFX Designer:
* Fixed bug regarding DPI of images used in Analog clock.
* Fixed bugs regarding linespacing.
* Fixed bug with minimum and maximum check for x-range in Static Graph.
* Fixed bug regarding auto-size in TextArea widget.
* Fixed being able to set negative border width on box with border widget.
* Fixed disappearing interaction when undoing.
* Fixed bug with DPI in images used by Gauge widget.
* Fixed bug with not showing an error when deleting wildcard character in
TextProgress and DigitalClock widgets.
* Fixed bug with long names in interactions.
* Fixed bug with escaped characters in text.
* Changing startup screen now results in unsaved changes.
* Fixed bug with code generation regarding ScreenAnimationEnded trigger.
* Fixed bug happening when users attempt to open a project with an unknown
version.
* Text field size in Widget tree view increased.
* Fixed the ability to select multiple screens using right mouse click.
* Fixed being able to set radius of a Circle Widget to a negative number
* Fixed text for checkboxes not wrapping.
* Fixed image icon not updating when changing simulator skin image.
* New TouchGFX Core Features:
* New widget: SVG Image
* Support in image converter to read basic SVG images. These are converted
to binary data that can be drawn using the SVG Image widget. See the
documentation for more information.
* New wide text actions and redefinition of two existing formats:
* WIDE_TEXT_NONE: No change, no automatic line breaks.
* WIDE_TEXT_WORDWRAP: Changed, will keep adding line breaks and will not
add ellipsis.
* WIDE_TEXT_WORDWRAP_ELLIPSIS: New, will add ellipsis as late as possible
(even mid-word) on the last line in the TextArea.
* WIDE_TEXT_WORDWRAP_ELLIPSIS_AFTER_SPACE: No change, automatic line
breaks, ellipsis will not be in the middle of a word.
* WIDE_TEXT_CHARWRAP: Changed, will keep adding line breaks and will not
add allipsis.
* WIDE_TEXT_CHARWRAP_ELLIPSIS: New, will add ellipsis at end of last line
in the TextArea.
* WIDE_TEXT_CHARWRAP_DOUBLE_ELLIPSIS: No change, will add two ellipsis at
end of the last line in the TextArea.
* AbstractShape::setFillingRule() added to also allow EVEN-ODD filling, in
addition to the default NON-ZERO filling.
* As images on monochrome displays do not support alpha channel, any alpha
value is now applied to each pixel before converting to BW.
* Optimized SlideTransition and CoverTransition.
* Class FullSolidRect has been removed from WipeTransition.
* ImageConvert is using updated libpng 1.6.38. Generated images look the
same.
* Bugfixes in TouchGFX Core:
* Font metrics are handled better so now font height does not depend on
which letters are actually being used. This means that default line
spacing might be different - this can be adjusted using
TextArea::setLinespacing(). For GraphLabels and ButtonWithLabel, texts
might be placed better, depending on your font.
* Setting a negative radius on a Circle will set the radius to zero.
* Setting a negative line width on a Circle will set the line width to zero
(causing a filled circle to be drawn).
* More robust handling of timer widgets in cases with lots of timer widgets.
* Fixed performance issue observed when upgrading to TouchGFX 4.19.0,
4.19.1, 4.20.0 (Removed Container::invalidateContent())
* Font::getSpacingAbove() return type changed from uint8_t to int16_t to
prevent overflow.
* Deprecated TouchGFX Core Features:
* Font::getMaxTextHeight() and Font::getMinimumTextHeight() have been
replaced by Font::getHeight(). Returns the height of the font.
* Font::getFontHeight() has been replaced by Font::getBaseline(). Returns
the distance to the baseline.
We strongly advice you to take a look at the new articles in the TouchGFX documentation :
- TouchGFX Stock: https://support.touchgfx.com/4.21/docs/development/ui-development/working-with-touchgfx/touchgfx-stock
- SVGImage widget: https://support.touchgfx.com/4.21/docs/development/ui-development/ui-components/images/svg-image
- SVG: https://support.touchgfx.com/4.21/docs/development/ui-development/touchgfx-engine-features/svg
Have a look also to our new article in our blog: TouchGFX 4.21: TouchGFX Stock, the largest library of graphical assets, free for STM32 MCUs
Hope you enjoy this new version!
