You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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
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
TEXT_EFFECT_SHAKE
- Another text effect that applies a shaking effect to words in text boxes.UIManager
s 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.
by @MyreMylar in Add optional pre-parse step to UITextBox converting /n to <br> #319
New Contributors
Full Changelog: v_064...v_065
Known Issues
Thanks for reading!
This discussion was created from the release Version 0.6.5.
Beta Was this translation helpful? Give feedback.
All reactions