mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-15 22:28:10 +08:00
Add icons for text alignment/justification
This commit is contained in:
@@ -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,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user