1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-28 07:23:13 -04:00

Typo in egui, layout: alignmen => alignment (#2209)

This commit is contained in:
Antoine Marras
2022-10-31 21:39:49 +01:00
committed by GitHub
parent 4c82519fb8
commit 1fb19f08ce

View File

@@ -183,7 +183,7 @@ impl Layout {
/// Place elements vertically, top to bottom.
///
/// Use the provided horizontal alignmen.
/// Use the provided horizontal alignment.
#[inline(always)]
pub fn top_down(halign: Align) -> Self {
Self {
@@ -204,7 +204,7 @@ impl Layout {
/// Place elements vertically, bottom up.
///
/// Use the provided horizontal alignmen.
/// Use the provided horizontal alignment.
#[inline(always)]
pub fn bottom_up(halign: Align) -> Self {
Self {