From 11d05bae08c3bfcdbed5215a7a321a4cbe1c0fe3 Mon Sep 17 00:00:00 2001 From: figsoda Date: Tue, 3 Nov 2020 11:35:28 -0500 Subject: [PATCH] tweak wording --- Configuration.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Configuration.md b/Configuration.md index 8fda434..025059d 100644 --- a/Configuration.md +++ b/Configuration.md @@ -38,9 +38,9 @@ variant | struct, tuple or unit | fields | description -|-|-|- `Rows(rows)` | tuple | list of [`Constrained`](#Constrained) [`Widget`s](#Widget) | split into rows `Columns(columns)` | tuple | list of [`Constrained`](#Constrained) [`Widget`s](#Widget) | split into columns -`Textbox(texts)` or `TextboxL` | tuple | `Texts` enum | text with left alignment -`TextboxC(texts)` | tuple | `Texts` enum | text with center alignment -`TextboxR(texts)` | tuple | `Texts` enum | text with right alignment +`Textbox(texts)` or `TextboxL` | tuple | `Texts` | text with left alignment +`TextboxC(texts)` | tuple | `Texts` | text with center alignment +`TextboxR(texts)` | tuple | `Texts` | text with right alignment `Queue(columns)` | tuple | list of [`Column`](#Column) | displays the queue ### Constrained @@ -72,7 +72,7 @@ variant | struct, tuple or unit | fields (separated by comma) | description `QueueAlbum` | unit | | album of the song in queue (only works inside a `Queue` [`Widget`](#Widget)) `Styled(styles, texts)` | tuple | list of [`Style`](#Style), [`Texts`](#Texts) | styled text `Parts(parts)` | tuple | list of [`Texts`](#Texts) | concatenate multiple parts of texts -`If(condition, lhs, rhs)` | tuple | [`Condition`](#Condition), [`Texts`](#Texts), optional [`Texts`](#Texts) | if `condition` then `lhs` (else `rhs`) +`If(condition, lhs, rhs)` or `If(condition, lhs)` | tuple | [`Condition`](#Condition), [`Texts`](#Texts), optional [`Texts`](#Texts) | if `condition` then `lhs` (else `rhs`) ### Style