Add icons for text alignment/justification

This commit is contained in:
Keavon Chambers
2026-05-06 19:26:26 -07:00
parent c0a8241f50
commit 2ae35a67e7
5 changed files with 45 additions and 83 deletions

View File

@@ -31,12 +31,19 @@ pub use vector_types;
#[widget(Radio)]
pub enum TextAlign {
#[default]
#[icon("TextAlignLeft")]
AlignLeft,
#[icon("TextAlignCenter")]
AlignCenter,
#[icon("TextAlignRight")]
AlignRight,
#[icon("TextJustifyLeft")]
JustifyLeft,
#[icon("TextJustifyCenter")]
JustifyCenter,
#[icon("TextJustifyRight")]
JustifyRight,
#[icon("TextJustifyAll")]
JustifyAll,
}