* TextFlow: fix inline `<code>` spans sagging below the baseline finish_row_center centered every walk by its own height, so a code run's shorter walk got a larger downward shift than the surrounding prose under `RowAlign.Center`. That undid TextFlow's baseline_shift: inline `<code>` spans sat a few px below the line's baseline, and their descenders poked out of the bottom of the code box. * FinishedWalk now carries an optional `align_height` that text runs set to their line style's height, so every text run on a row receives the same centering shift and stays on the baseline. Also fixes sub- and superscripts drifting under `RowAlign.Center`. * The per-style metrics probe now caches descenders too, since we need the full line height (ascender + descender) to compute `align_height`. * Html/Markdown: make the fixed/code font size scale configurable Replaces the hardcoded 0.85 `FIXED_FONT_SIZE_SCALE` consts with a `fixed_font_size_scale` live property on TextFlow (default 0.85), so apps can tune how much smaller `<code>` text renders than the prose. * cargo_makepad: don't include `resources/android`/`ios` on every platform Runtime asset bundling copied each crate's entire `resources/` tree into every package, so `resources/android/` (manifest template, launcher icon mipmaps) shipped as dead weight inside APK assets and Apple bundles, and any `resources/ios/` content would ship on Android too. Those dirs are platform-specific, so only their own platform should bundle them. * Add `cp_all_skip_top()` to `makepad-shell`: like `cp_all()`, but skips top-level entries by exact name. * Android (APK and AAB staging): bundle `resources/android/` minus the packaging inputs `AndroidManifest.xml.template` and `res/`, which already reach the package via the generated manifest and the aapt `res/` pipeline; skip `resources/ios/` entirely. * Apple bundles: skip `resources/android/`, keep `resources/ios/`. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||