From a4bb85800d3b1e1a970b32121ff631d1293218b3 Mon Sep 17 00:00:00 2001 From: Diamantis Chatziargyiou Date: Fri, 20 Dec 2024 19:48:58 +0200 Subject: [PATCH] Add exclamation mark to set_margin_horizontal! and set_margin_vertical! in chapter 4 The exclamation marks are also missing in the wiki, here: https://clemens-cords.com/mousetrap/01_manual/04_widgets/#Margin --- docs/src/01_manual/04_widgets.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/01_manual/04_widgets.md b/docs/src/01_manual/04_widgets.md index 199e936..1599445 100644 --- a/docs/src/01_manual/04_widgets.md +++ b/docs/src/01_manual/04_widgets.md @@ -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)