So many new features like rounded corners, emojis, table headers and a load more make v2.4.0!
2.4.0 - 1 September 2023
Added
- Rounded corners in rectangle (#1090)
- Support for emoji in text
- Layout debugging (with
-tags debug
build flag) (#3314) - GridWrap collection widget
- Add table headers (#1658, #3594)
- Add mobile back button handling (#2910)
- Add option to disable UI animations (#1813)
- Text truncation ellipsis (#1659)
- Add support for binding tree data, include new
NewTreeWithData
- Add support for OpenType fonts (#3245)
- Add
Window.SetOnDropped
to handle window-wide item drop on desktop - Add lists to the types supported by preferences API
- Keyboard focus handling for all collection widgets
- Add APIs for refreshing individual items in collections (#3826)
- Tapping slider moves it to that position (#3650)
- Add
OnChangeEnded
callback toSlider
(#3652) - Added keyboard controls to
Slider
- Add
NewWarningThemedResource
andNewSuccessThemedResource
along withNewColoredResource
(#4040) - Custom hyperlink callback for rich text hyperlinks (#3335)
- Added
dialog.NewCustomWithoutButtons
, with aSetButtons
method (#2127, #2782) - Added
SetConfirmImportance
todialog.ConfirmDialog
. - Added
FormDialog.Submit()
to close and submit the dialog if validation passes - Rich Text image alignment (#3810)
- Bring back
theme.HyperlinkColor
(#3867) - Added
Importance
field onLabel
to color the text - Navigating in entry quickly with ctrl key (#2462)
- Support
.desktop
file metadata inFyneApp.toml
for Linux and BSD - Support mobile simulator on FreeBSD
- Add data binding boolean operators
Not
,And
andOr
- Added
Entry.Append
,Select.SetOptions
,Check.SetText
,FormDialog.Submit
- Add
ShowPopUpAtRelativePosition
andPopUp.ShowAtRelativePosition
- Add desktop support to get key modifiers with
CurrentKeyModifiers
- Add geometry helpers
NewSquareSize
andNewSquareOffsetPos
- Add
--pprof
option to fyne build commands to enable profiling - Support compiling from Android (termux)
Changed
- Go 1.17 or later is now required.
- Theme updated for rounded corners on buttons and input widgets
widget.ButtonImportance
is nowwidget.Importance
- The
Max
container and layout have been renamedStack
for clarity - Refreshing an image will now happen in app-thread not render process, apps may wish to add async image load
- Icons for macOS bundles are now padded and rounded, disable with "-use-raw-icon" (#3752)
- Update Android target SDK to 33 for Play Store releases
- Focus handling for List/Tree/Table are now at the parent widget not child elements
- Accordion widget now fills available space - put it inside a
VBox
container for old behavior (#4126) - Deprecated theme.FyneLogo() for later removal (#3296)
- Improve look of menu shortcuts (#2722)
- iOS and macOS packages now default to using "XCWildcard" provisioning profile
- Improving performance of lookup for theme data
- Improved application startup time
Fixed
- Rendering performance enhancements
dialog.NewProgressInfinite
is deprecated, but dialog.NewCustom isn't equivalent- Mouse cursor desync with Split handle when dragging (#3791)
- Minor graphic glitch with checkbox (#3792)
- binding.String===>Quick refresh *b.val will appear with new data reset by a call to OnChange (#3774)
- Fyne window becomes unresponsive when in background for a while (#2791)
- Hangs on repeated calls to
Select.SetSelected
in table. (#3684) Select
has wrong height, padding and border (#4142)widget.ImageSegment
can't be aligned. (#3505)- Memory leak in font metrics cache (#4108)
- Don't panic when loading preferences with wrong type (#4039)
- Button with icon has wrong padding on right (#4124)
- Preferences don't all save when written in
CloseIntercept
(#3170) - Text size does not update in Refresh for TextGrid
- DocTab selection underline not updated when deleting an Item (#3905)
- Single line Entry throws away selected text on submission (#4026)
- Significantly improve performance of large
TextGrid
andTree
widgets List.ScrollToBottom
not scrolling to show the totality of the last Item (#3829)- Setting
Position1
of canvas.Circle higher thanPosition2
causes panic. (#3949) - Enhance scroll wheel/touchpad scroll speed on desktop (#3492)
- Possible build issue on Windows with app metadata
Form
hint text has confusing padding to next widget (#4137)Entry
Placeholder Style Only Applied On Click (#4035)- Backspace and Delete key Do not Fire OnChanged Event (#4117)
- Fix
ProgressBar
text having the wrong color sometimes - Window doesn't render when called for the first time from system tray and the last window was closed (#4163)
- Possible race condition in preference change listeners
- Various vulnerabilities resolved through updating dependencies
- Wrong background for color dialog (#4199)
We hope you have a lot of fun with this huge update :).