Repository navigation
v1.4.0
📋 What's Changed
Added
Flowery.WinUI.RuntimeTests/VisualChecks/indicator-sizes.html, a browser page that drawsDaisyToggle,DaisyCheckBoxandDaisyRadioat their default token sizes in all five size tiers, in the Dark and Light palettes, at real effective pixels.- The Gallery Toggle and Radio sections show a small
DaisyTablewith the controls in its cells. It follows the global size, so the row height can be checked in every size tier.
Changed
- Breaking: Visual:
DaisyCheckBox,DaisyRadioandDaisyToggleindicators are as tall as the line height of their label text in the Windows type ramp, and Medium matches the WinUI defaults. The compact indicators were much smaller than their labels since the font ladder grew in 1.3.0. Checkbox and radio are 14/16/20/24/28 px (was 8/10/12/14/16), the radio dot 8/10/12/14/16 px and the checkmark 8/10/12/14/17 px. Toggle tracks are 28×14, 32×16, 40×20, 48×24 and 56×28 with 8/10/12/14/16 px knobs (was 16×8 to 32×16 with 4–12 px knobs), keeping the WinUIToggleSwitchproportions. The checkbox corner radius is a fifth of the box (3/3/4/5/6 px), so it also follows overriddenDaisyCheckbox{Size}Sizetokens. Review fixed dimensions and style overrides that depend on the previous sizes. - The
DaisyToggletrack border uses the base content color at 50 % opacity, like DaisyUI's toggle, instead of the full color. The thin full-contrast outline looked jagged on its curves at 100 % display scaling.DaisyToggleTrackBorderBrushstill overrides it. DaisyToggle.TogglePaddingdefaults toNaN, which centers the knob with the same gap on every side, like the WinUIToggleSwitch(3 px inside the border at Medium). Set a number to use a fixed horizontal gap as before.DaisyTableRowreads its lightweight-styling brushes (DaisyTableRowBorderBrush,DaisyTableRowHoverBackgroundand the others) from theResourcesof itsDaisyTablewhen the row does not define them itself, so one definition on the table styles all rows.
Fixed
- The checked
DaisyToggleknob no longer overlaps the right track border. Its position ignored the 1 px border, so it sat flush with the right edge while the unchecked knob kept a gap on the left. DaisyToggleno longer keeps the minimum width and height of its first size. It setMinWidthandMinHeightonce, when its template was applied, and never updated them, so a toggle that follows the global size stayed at least 40×20 after switching to a smaller size, which kept table rows and lists from getting lower.DaisyButtonno longer keeps the corner radius of its first size. Like the toggle minimum size, it treated its own token radius as an app override once written, so a button that followed the global size kept the old radius (4/4/8/8/12 px per tier). Radii set by the app,DaisyJoinorDaisyButtonGroupare still respected.- A
DaisyTogglewithout aHeaderno longer reserves the 8 px gap meant for the header text; it is exactly as wide as its track. - The
DaisyRadiodot stays centered at fractional display scales such as 125 % and 175 %. Ring and dot no longer use layout rounding, like the WinUIRadioButton.
📦 Library
| Asset | Description |
|---|---|
Flowery.WinUI.1.4.0.nupkg |
NuGet package (also on nuget.org) |
Flowery.WinUI-lib.zip |
Compiled DLL and PDB |
🌸 Gallery Demo App
Self-contained executable for demoing Flowery.WinUI controls (no .NET install required).
| Platform | Download |
|---|---|
| Windows x64 | Flowery.WinUI.Gallery-Windows-x64.zip |
| Windows x64 Kiosk | Flowery.WinUI.Kiosk-Windows-x64.zip |
What's Changed
- Size selection indicators by label line height and fix DaisyToggle; release 1.4.0 by @tobitege in #13
Full Changelog: v1.3.2...v1.4.0