Skip to content

Commit

Permalink
add exclamation pt to set_margin! in ch. 4
Browse files Browse the repository at this point in the history
  • Loading branch information
archermarx authored Jan 11, 2024
1 parent 5ba3c2f commit 5cc2c8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/01_manual/04_widgets.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ set_margin_horizontal(widget, 10)
set_margin_vertical(widget, 10)

# equivalent to
set_margin(widget, 10)
set_margin!(widget, 10)
```

Where [`set_margin_horizontal!`](@ref), [`set_margin_vertical!`](@ref) set two of the margins at the same time, while [`set_margin!`](@ref) sets all four margins at once.
Expand Down

0 comments on commit 5cc2c8b

Please sign in to comment.