Added
- Showcase page for
VirtualList(#1027). The Data group now has a "Virtual
List" demo of 5,000 cards with different heights. It jumps to a row by index
(ScrollToIndexAt,ScrollIndexIntoView,ScrollToIndex), follows appended
rows withScrollToEndwhile pinned, and inserts rows at the top with
ItemKeyso measured heights stay with their rows. The new docs page explains
when to useVirtualListinstead ofListBox,TableorTree, how
heights, identity and index scrolling work, and whyItemView'swidthmust
not be a minimum width. Before, the widget was in no showcase page, so a
reader of the showcase could not find it.
Changed
- Markdown inline code is smaller, regular weight, on the code fill.
DefaultMarkdownStyle().Codeis now the theme's mono face two points under
the body text size, and code runs are no longer forced to bold. Before, inline
code was one point larger than body text and bold. The macOS mono face (Menlo)
also has taller lowercase letters than the system sans, so a paragraph with
many identifiers (the DX Cheat Sheet, for example) looked louder than the
prose around it. Fenced code blocks also use the same run style, so they are
now regular weight too. Code inside a heading or a definition term still takes
that text's size and weight. Code wrapped in bold (**`x`**) in body text
is regular, because the parser treats it as plain code. Inline code now sits
on the sameCodeBlockBGfill as fenced blocks, so both read as code. A
Style.Codewith its ownBgColorkeeps it. To get the old look, set
Style.CodetoTheme.TextStyleCode.Bold(). - Showcase docs show under each demo. A widget page now shows its demo, then
a "Documentation" section with the widget's guide. A labeled "Docs" button in
the title bar scrolls to that section. Before, the docs were behind an
unlabeled book icon that replaced the demo, so few readers found them, and a
reader who did could not see the demo and its docs together. Doc pages such as
Welcome do not get a second copy. - Showcase catalog groups follow one rule (#1025). Each demo is now in the
group of the job it does for the user: Start, Actions, Choices, Entry, Text,
Data, Layout, Navigation, Messages, Progress, Motion, Drawing, and App &
Window. Before, related demos were split across groups: date controls in Input
and Selection, menus in Nav and Overlays, sound in Feedback and Welcome.
Choice controls such as Radio and Switch were in Buttons. The group picker and
the catalog headers now read one list, so their order and labels agree. "All"
is now the first item in the picker. The Docs toggle now keys on doc pages,
not on a group, so Sound Feedback still shows its own page after it moved to
App & Window.
What's Changed
Other changes
- Showcase: add VirtualList page and docs (#1027) by @mike-ward in #1028
- Showcase: regroup the catalog by job, one group list (#1025) by @mike-ward in #1029
- Markdown: smaller, regular-weight inline code on the code fill by @mike-ward in #1030
- Showcase: show docs under each demo by @mike-ward in #1031
- changelog: add v0.88.4 (markdown code style, showcase docs) by @mike-ward in #1032
Full Changelog: v0.88.3...v0.88.4