| 1 | mod field; |
| 2 | mod form; |
| 3 | |
| 4 | pub use field::*; |
| 5 | pub use form::*; |
| 6 | |
| 7 | /// Create a new [`Form`] with a vertical layout. |
| 8 | pub fn v_form() -> Form { |
| 9 | Form::vertical() |
| 10 | } |
| 11 | |
| 12 | /// Create a new [`Form`] with a horizontal layout. |
| 13 | pub fn h_form() -> Form { |
| 14 | Form::horizontal() |
| 15 | } |
| 16 | |
| 17 | /// Create a new [`Field`]. |
| 18 | pub fn field() -> Field { |
| 19 | Field::new() |
| 20 | } |