Skip to content

Version 0.6.5

Compare
Choose a tag to compare
@MyreMylar MyreMylar released this 30 Oct 15:06
· 601 commits to main since this release
98d4b9d

Version 0.6.5 - Now with multi-line Text Entry

Upgrade with: pip install pygame_gui -U

This update was building on the work done in 0.6.0 with text to finally add a multi-line text entry UI element, and along the way a range of other smaller issues were fixed.

Major Features

  • NEW UITextEntryBox - Allows for the entering/editing of plain text into a word-wrapped, multi-line box. The aim was to model it closely on Windows Notepad in terms of features and behaviour.

Minor features & enhancements

  • NEW TEXT_EFFECT_SHAKE - Another text effect that applies a shaking effect to words in text boxes.
  • Better support for key word arguments for translations - most elements with text now support a text_kwargs type parameter that you can pass a dictionary of keywords too - useful if you have data to insert into translated strings.
  • NEW Polish translation - Thanks to @marcinbarylka.
  • UIDropDown enhancements - It should now open with the selected item visible in the list, allow scrolling the list with the mouse and allow for the list to be updated without having to recreate the drop down from scratch.
  • Dynamic theming changes - there are now options to update the theming of elements via functions while the application is running.
  • Centre anchors for layouts - should make it easier to stick elements in the middle of containers and have them stay there.
  • Reducing boilerplate code - UIManagers should now be an optional parameter for all elements (you still need to make at least one), I've also begun some work on passing in a four element tuple instead of a pygame.Rect which should pare down the text passed into elements down to the very minimum required.

Auto-generated pull request notes

These are all the pull requests merged for 0.6.5.

New Contributors

Full Changelog: v_064...v_065

Known Issues

  • No tab support in new text entry box.
  • No undo/redo CTRL+Z/CTRL+SHIFT+Z support in new text entry box.

Thanks for reading!