Skip to content

Commit 39d0c97

Browse files
Add button example to TMIL 2025-04-04 (#102)
Co-authored-by: Daniel McNab <36049421+DJMcNab@users.noreply.github.com>
1 parent ba99f81 commit 39d0c97

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

content/blog/2025-04-04-tmil-15/index.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,18 @@ However, this was put on hold whilst the Properties experiment we mentioned last
2222
- [xilem#873][]: Implements properties, which is additional data attached to each widget in a uniform way, intended to enable styling.
2323
- [xilem#892][]: Uses properties for styling the built-in `Button` widget.
2424

25-
<!-- TODO: Screenshot of new capability from button styling. Deferred to Olivier. Non-blocking -->
25+
<figure>
26+
<img style="height: auto" src="styled-button.png" alt="A button with a red border, a red font, and placeholder text." width="200" height="80">
27+
<figcaption>
28+
29+
An example of a styled button.
30+
31+
</figcaption>
32+
</figure>
2633

2734
We have also made significant progress outside of these highlighted areas:
2835

29-
- [xilem#897][]: Reduced the size of many of our screenshot tests, to better.
36+
- [xilem#897][]: Reduced the size of many of our screenshot tests.
3037
- [xilem#904][]: Implemented a new algorithm for screenshot testing, which better reflects the aspects of the screenshots we wish to test.
3138
It also implements automatic compression of blessed screenshots using the excellent [oxipng][] library.
3239
- [xilem#899][]: Added documentation for lots of items and methods which were missing documentation.
Loading

0 commit comments

Comments
 (0)