From dfab28fe6dbafea2f7d26a82c61305e8bc26ac34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20R=C3=B6ssler?= Date: Wed, 9 Feb 2022 16:03:57 +0100 Subject: [PATCH] document GridDirection --- egui_extras/src/grid.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/egui_extras/src/grid.rs b/egui_extras/src/grid.rs index 0234835b..9c42ede4 100644 --- a/egui_extras/src/grid.rs +++ b/egui_extras/src/grid.rs @@ -5,6 +5,10 @@ use crate::{ }; use egui::Ui; +/// The direction in which cells are positioned in the grid. +/// +/// In a horizontal grid cells are positions from left to right. +/// In a vertical grid cells are positions from top to bottom. enum GridDirection { Horizontal, Vertical,