github go-gui-org/go-gui v0.88.4

latest releases: v0.100.1, v0.100.0, v0.99.1...
one month ago

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 with ScrollToEnd while pinned, and inserts rows at the top with
    ItemKey so measured heights stay with their rows. The new docs page explains
    when to use VirtualList instead of ListBox, Table or Tree, how
    heights, identity and index scrolling work, and why ItemView's width must
    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().Code is 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 same CodeBlockBG fill as fenced blocks, so both read as code. A
    Style.Code with its own BgColor keeps it. To get the old look, set
    Style.Code to Theme.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

Full Changelog: v0.88.3...v0.88.4

Don't miss a new go-gui release

NewReleases is sending notifications on new releases.