Skip to content

Commit

Permalink
Add exclamation mark to set_margin_horizontal! and set_margin_vertica…
Browse files Browse the repository at this point in the history
…l! in chapter 4

The exclamation marks are also missing in the wiki, here:
https://clemens-cords.com/mousetrap/01_manual/04_widgets/#Margin
  • Loading branch information
Hootseer authored Dec 20, 2024
1 parent 3fe2e89 commit a4bb858
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/src/01_manual/04_widgets.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,8 @@ set_margin_top!(widget, 10)
set_margin_bottom!(widget, 10)

# equivalent to
set_margin_horizontal(widget, 10)
set_margin_vertical(widget, 10)
set_margin_horizontal!(widget, 10)
set_margin_vertical!(widget, 10)

# equivalent to
set_margin!(widget, 10)
Expand Down

0 comments on commit a4bb858

Please sign in to comment.