makepad/widgets
Kevin Boos 601d96a080
Script reloads: keep a list's tailing state, re-apply cached widgets, and theme CalloutTooltip (#1315)
* PortalList: keep the tailing state across a reload

`auto_tail` turned `tail_range` back on for every apply, including a style reload
or an Android/iOS rotation, which pulled a list the user had scrolled up back to its end.
Now only a new list starts out following its end.

* CachedWidget: re-apply a cached widget that missed a reload

A cached widget that nothing held during a reload (e.g. one that only lives in an
AdaptiveView's inactive variant, or in a lazily built page) kept its old styling,
since adopting it from the cache never re-applied its template.
* `Cx::reload_generation` counts the whole-tree reload walks
* `CachedWidget` records the generation each widget was last applied at,
  and requests a script reapply when it adopts one that's out of date

* CalloutTooltip: take its default colors from Splash

`CalloutTooltipOptions::default()` hardcoded the text and background colors in Rust,
and `draw_walk` always applied them, so apps couldn't theme their tooltips.
The options' colors are now `Option`s; `None` uses the tooltip's own `text_color`/`bg_color`,
which default to the same values as before.
2026-10-21 16:01:56 +02:00
..
core Script reloads: keep a list's tailing state, re-apply cached widgets, and theme CalloutTooltip (#1315) 2026-10-21 16:01:56 +02:00
derive_widget platform: topic hunks the per-commit assembly could not place, the Sep 2–15 dev PRs (#1208–#1236) as adapted to this tree, and the zero-warning chore 2026-09-15 13:40:33 +02:00
families Scroll: keep each gesture with the scroller it began on, and let nested scrollers share a drag (#1317) 2026-10-21 16:01:19 +02:00
feedback draw, widgets: the library is makepad-widgets-core plus a crate per widget family, eighty new widgets and the storybook, relief-lit skeuomorphic surfaces, the feedback panel, keyboard focus and tooltips clear of the cursor 2026-09-26 20:10:50 +02:00
fonts draw, widgets: the library is makepad-widgets-core plus a crate per widget family, eighty new widgets and the storybook, relief-lit skeuomorphic surfaces, the feedback panel, keyboard focus and tooltips clear of the cursor 2026-09-26 20:10:50 +02:00
resources draw, widgets: the library is makepad-widgets-core plus a crate per widget family, eighty new widgets and the storybook, relief-lit skeuomorphic surfaces, the feedback panel, keyboard focus and tooltips clear of the cursor 2026-09-26 20:10:50 +02:00
src draw, widgets: the library is makepad-widgets-core plus a crate per widget family, eighty new widgets and the storybook, relief-lit skeuomorphic surfaces, the feedback panel, keyboard focus and tooltips clear of the cursor 2026-09-26 20:10:50 +02:00
test splice out a makepad-network crate 2026-02-23 23:21:31 +01:00
tests platform: render-loop fixes from review, the remote gate, --focus, and owned state instead of globals 2026-09-18 12:15:08 +02:00
themes draw, widgets: the library is makepad-widgets-core plus a crate per widget family, eighty new widgets and the storybook, relief-lit skeuomorphic surfaces, the feedback panel, keyboard focus and tooltips clear of the cursor 2026-09-26 20:10:50 +02:00
build.rs draw, widgets: the library is makepad-widgets-core plus a crate per widget family, eighty new widgets and the storybook, relief-lit skeuomorphic surfaces, the feedback panel, keyboard focus and tooltips clear of the cursor 2026-09-26 20:10:50 +02:00
Cargo.toml draw, widgets: the library is makepad-widgets-core plus a crate per widget family, eighty new widgets and the storybook, relief-lit skeuomorphic surfaces, the feedback panel, keyboard focus and tooltips clear of the cursor 2026-09-26 20:10:50 +02:00