# New user interface capabilities

**URL:** <https://forum.castle-engine.io/t/new-user-interface-capabilities/41>\
**Category:** News\
**Created:** [February 17, 2019, 5:54pm UTC](https://forum.castle-engine.io/t/new-user-interface-capabilities/41 "2019-02-17T17:54:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![michalis](https://forum.castle-engine.io/user_avatar/forum.castle-engine.io/michalis/32/3_2.png) [@michalis](https://forum.castle-engine.io/u/michalis)\
**Post date:** [February 17, 2019, 5:54pm UTC](https://forum.castle-engine.io/t/new-user-interface-capabilities/41/1 "2019-02-17T17:54:42Z")

</div>

| [![Screenshot of selection at 2019-02-17 18:46:38](https://forum.castle-engine.io/uploads/default/original/1X/0b4bd958998b69af39a2b9fa5a49e1b42e2909c4.png)](https://castle-engine.io/wp/wp-content/uploads/2019/02/Screenshot-of-selection-at-2019-02-17-184638.png "Screenshot of selection at 2019-02-17 18:46:38") |
| [![Screenshot of selection at 2019-02-17 18:44:53](https://forum.castle-engine.io/uploads/default/original/1X/80d1e72173d24f39d677bcd1a0db9b80f5b768af.png)](https://castle-engine.io/wp/wp-content/uploads/2019/02/Screenshot-of-selection-at-2019-02-17-184453.png "Screenshot of selection at 2019-02-17 18:44:53") |

- The [font rendering](https://castle-engine.io/manual_text.php) behaves better when the text contains a character that we cannot render: it displays a fallback glyph (usually “?”) and makes a warning (using `WritelnWarning`, so it goes to [log](https://castle-engine.io/manual_log.php)). This allows to easily spot missing characters in the font and makes backspace working sensibly if you input a character which glyph isn’t supported.

You can toggle this by setting [TTextureFont.FontData.UseFallbackGlyph](https://castle-engine.io/apidoc-unstable/html/CastleTextureFontData.TTextureFontData.html#UseFallbackGlyph) to `false`.

- [TCustomizedFont.Load](https://castle-engine.io/apidoc-unstable/html/CastleFonts.TCustomizedFont.html#Load) allows to load font texture in a couple of alternative sizes. The resulting font rendering will look better, it will use the best texture, and thus can look crisp regardless of the final size on screen.

- [TCastleFloatEdit](https://castle-engine.io/apidoc-unstable/html/CastleControls.TCastleFloatEdit.html) and [TCastleIntegerEdit](https://castle-engine.io/apidoc-unstable/html/CastleControls.TCastleIntegerEdit.html) allow to easily edit a Single / Integer value by an edit box.

- [TCastleScrollViewManual](https://castle-engine.io/apidoc-unstable/html/CastleControls.TCastleScrollViewManual.html) allows to have a scrollbar that controls… well, anything you want (handling [OnChange](https://castle-engine.io/apidoc-unstable/html/CastleControls.TCastleScrollViewManual.html#OnChange) event). This is a more flexible version of [TCastleScrollView](https://castle-engine.io/apidoc-unstable/html/CastleControls.TCastleScrollView.html) that scrolls user interface inside.

The new controls and font rendering capabilities can be of course easily tested in [CGE editor](https://castle-engine.io/manual_editor.php).
