Releases: RonenNess/GeonBit.UI
Releases · RonenNess/GeonBit.UI
Misc bug fixes and improvements
Changes:
- Fixed bug with dropdown width when its size is relative (for example 0.5f).
- Fixed tooltip text for complex entities like dropdown and lists.
- Fixed default tooltip text to never leave screen boundaries.
- Added AllowReselectValue mode to lists and dropdown entities.
- Fixed propagating events in lists and dropdown + added base function for that.
- Changed so that selecting the same value in a dropdown would still close it.
- Added msg boxes counter to msg boxes utility + a getter to check if there's anything opened.
- Added extra margin property to allow better control on entities selection.
- Fixed the annoying selection gap in lists and dropdown (clicking right between the lines).
- Fixed disposing render targets properly + adding the IDisposable API to UserInterface and Panels.
Lazy texture loading, ToolTip text, and paragraph background color.
- Changed textures to load lazily and only if used (instead of just loading everything during init).
- Added tooltip text.
- Changed the BeforeDraw callback to run before drawing background entity.
- Added background color property to paragraphs.
- Improved the way lists and dropdown works + fixed selection color.
- Adding entity functions now return the newly added entity.
Bug fixes, improved sliders, better exceptions and focus change event
- Added silent exceptions mode.
- Added custom exceptions for different cases.
- Renamed DropDown.cs file.
- Fixed panel scrollbar update - so it won't be called during interaction, to prevent bugs while scrolling and size changes.
- Fixed dropdown problems when inside scrolled panel.
- Better sliders and scrollbars behavior when changing max value.
- Fixed scrollbars to move one step when clicking on edge.
- Fixed sliders and scrollbars default steps count value.
- Fixed sliders and scrollbars when inside a panel with scrollbar.
- Added focus changed event and callback.
- Added default empty value property to text inputs.
New validators, outline opacity, and message boxes
- Added outline opacity property.
- Added some text validators.
- Improved existing text validators efficiency + added support in spaces / no spaces.
- Added utility to generate message boxes.
Bug Fixes and minor improvements
- Fixed opacity bug.
- Added finer control over blending mode and sampler state.
- Changed progress-bar label to be click-through by default, to make sure the progress-bar can be dragged if not locked.
- Fixed paragraphs that are not left-aligned click and mouse-over detection.
- Fixed combo-box and radio buttons label positioning with global scaling.
- Fixed mouse position on first frame of a new User Interface.
Bug fixes and refactoring
- Removed redundant exception that caused warning on some compilers.
- Made vertical scrollbar adjust max automatically by default.
- Fixed vertical scrollbar with global scale.
- Refactored panel tabs - fixed bugs and made cleaner code (note: this slightly change their behavior).
- Optimized getting sorted children list - less garbage and sorting per frame.
- Refactored panels with scrollbar implementation - fixed bugs and made cleaner code.
Bug fixes, new theme, and some new features
- Added auto Max for vertical scrollbars.
- Fixed bug with lists with height of 0.
- Added option to lock specific items in SelectList.
- Made the MulticolorParagraph the default paragraph type the built-in entities use, with an option to override this behavior via a paragraph generator function.
- Fixed bug with MulticolorParagraph shadow/outline and scaling.
- Added new theme: editor.
Upgraded to 3.6, Added MultiColor paragraph
Changes:
- Made the default GeonBit.UI project use MonoGame 3.6 (as well as the NuGet package).
- Added MultiColor paragraph entity.
- Added default label to progress bars.
For older MonoGame versions, please see tag 2.1.0.0:
https://github.com/RonenNess/GeonBit.UI/releases/tag/2.1.0.0
[Not NuGet released] Last MonoGame 3.5 version!
Changes:
- Added multicolor paragraph entity.
- Default label to progress bars.
- Made UserInterface a plain class (instead of static) with UserInterface.Active static pointer to the currently active interface.
Note: This version is not released as a NuGet package. It is marked as a last tag before I completely move to MonoGame 3.6 and dump the project file for older MonoGame versions.
Added project for MonoGame 3.6 + minor improvements
- Improved strings usage.
- Added project to build GeonBit.UI with MonoGame 3.6.
- Fixed DefaultSize static property to work with inheritance.
- Added
Clear()
to UserInterface. - Provided public getter for the root panel.
- Fixed DropDown and auto-anchoring while inside tabs panel.