Releases: zng-ui/zng
Releases · zng-ui/zng
v0.12.9
v0.12.8
- Properties
size
and related now have a default value allowing conditional assign. - Add
zng::slider
withSlider
widget. - Fix
force_size
returning the parent's constraint min size. - Fix hit-test in rounded rectangles with too large corner radius.
- Fix headless rendering in Wayland. Property
needs_fallback_chrome
now isfalse
for headless windows.
v0.12.7
- Revert
fs4
dependency upgrade to fix build. It was yanked.
v0.12.6
- Add debug validation of capture only property use in widgets that don't capture it.
- Fix Wayland custom chrome breaking window padding.
- Fix window text properties affecting the Wayland fallback chrome text.
- Fix
swgl
build error. - Changed how relative lengths are computed in
offset
,x
andy
, now uses the maximum bounded length from constraint, the same assize
properties. - Fix display print of
FactorPercent
not rounding. ChildInsert::{Over, Under}
now allows insert to affect layout size, like other inserts.- Use
background
andforeground
properties as layout passive alternatives forchild_under
andchild_over
.
- Use
- Add
zng::container::child
. - Breaking
zng_wgt_container::child
can now be used as a standalone property that behaves the same aschild_under
.- Note that this is only a breaking change for direct dependents of
zng-wgt-container
.
- Note that this is only a breaking change for direct dependents of
- Fix warning on
flood
with 0 area. - Add
zng::task::Progress
value type for reporting a task progress status. - Add
zng::progress
withProgressView
widget for displaying a task progress status.
v0.12.5
- Fix
cargo zng fmt
andcargo zng l10n
on files that start with#!
. - Fix layers anchored to the root widget never rendering in some windows.
v0.12.4
- Export
LOW_MEMORY_EVENT
on the surface API inzng::app
. - Fix
LOW_MEMORY_EVENT
not notifying in Android. - Implement
LOW_MEMORY_EVENT
in Windows. - Fix window not updating state after restore in Wayland.
- Add
FrameBuilder::render_widgets
andrender_update_widgets
toFrameBuilder
andFrameUpdate
to inspect external render requests. - Implement support for raster and svg emojis.
- Add
FontFace::ttf
to quickly access the full parsed TTF data. - Add
has_raster_images
andhas_svg_images
method toFontFace
andShapedText
. - Add software render in macOS.
- Fix software render in Wayland.
v0.12.3
- Fix close button icon in Wayland instances without any close icon available.
- Add
IMAGES.image_task
to load async image sources. - Implement support for SVG images.
- Add
zng-ext-svg
. - Add non default
"svg"
feature on thezng
crate.
- Add
- Fix
view_process_extension!
not running in same-process mode. - Breaking
WindowExtension
now also instantiated for headless surfaces.- Note that this is only a breaking change for direct dependents of
zng-view
extensions API.
- Note that this is only a breaking change for direct dependents of
- Breaking Add
as_any
casting method forRendererExtension
andWindowExtension
.- Note that this is only a breaking change for direct dependents of
zng-view
extensions API.
- Note that this is only a breaking change for direct dependents of
- Add
"zng-view.prefer_angle"
window extension to support enabling ANGLE EGL over WGL on Windows.
v0.12.2
- Add
widget_impl:
directive forcommand_property!
. - Allow missing trailing comma in
event_property!
. - Fix visibility and transform events losing track of a widget after info rebuild.
- Add visibility changed event properties,
on_visibility_changed
,on_show
,on_collapse
and others. - Add
VisibilityChangedArgs
helper methods for tracking changes for a specific widget. - Fix doc links in inherited properties fetched from redirected original pages.
- Fix
cargo zng res
not getting explicit metadata from lib crates. - Implement
--verbose
forcargo zng res
. - Localize settings search box placeholder text.
v0.12.1
- Fix panic trying to use font index on macOS.
- Fix default UI font in Apple systems.
- Breaking Update webrender dependency.
- Note that this is only a breaking change for direct dependents of
zng-view
extensions API.
- Note that this is only a breaking change for direct dependents of
- Fix
--clean-deps
incargo zng l10n
. - Implement
--verbose
forcargo zng l10n
.
v0.12.0
- Log warning when property is not used because it has no default value.
- Define default
max_size
,max_width
andmax_height
so these properties can now be only set by when conditions. - Fix
sticky_size
,sticky_width
andsticky_height
properties when dynamically disabled and re-enabled. - Fix
sticky_height
using x constraint. - Fix fill align in
Scroll!
dimensions that do not scroll. - Implement alternate
SettingsEditor!
layout for narrow width (mobile). - Implement equality and comparison for
Dip
andPx
toi32
(andf32
forDip
). - Breaking Move
IS_MOBILE_VAR
tozng-wgt
andzng::widget
. - Breaking Move
is_mobile
andforce_mobile
tozng-wgt
andzng::widget
.- These properties are no longer strongly associated with
Window
.
- These properties are no longer strongly associated with
- Add
SettingsEditor::panel_fn
for customizing the full editor layout. - Breaking Remove previous deprecated
UiNodeVec
. - Breaking Remove unused renderer param in
FrameUpdate::new
.