Skip to content

gui_toolkit 0.181.0

Choose a tag to compare

@sachahjkl sachahjkl released this 11 Nov 09:12
· 1476 commits to master since this release
v0.181.0
c5c49bf

Added

  • A toast is as tall as its words, and may have a title: its text goes on to the next lines inside it instead of past its edge, and the stack places each by its height. toast_titled(kind, title, body, action, user): the title bold on its line (cut with "…"), the text under it.
  • segmented(look = .Text): a segmented control in words, as wide as they are, separator between them ("All / Active 2 / Done 1"); the chosen word bold and underlined, the others weak until the pointer is on them.

Fixed

  • A thin ring's rounded corners are as heavy as its sides: blended in linear light, the pixels a curve cuts were paler than a browser draws them (a 1 px border looked thinner in its corners). draw.rect and draw.rect_corners take the backdrop a ring is drawn over; its edge then blends as in sRGB values. A box's border gives its own: the colour under it (box_under).