mirror of
https://github.com/storytold/designcraft.git
synced 2026-10-24 10:16:59 -06:00
T: Insert Kashidas in the paragraph style Justification tab
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
2827574a47
commit
6334734b3a
@@ -1891,6 +1891,12 @@ fn paragraph_style_options(app: &mut DesignApp, ui: &mut egui::Ui, d: &mut Dialo
|
||||
d.fields.insert("p.composer".into(), json!("singleLine"));
|
||||
}
|
||||
ui.end_row();
|
||||
ui.label("Insert Kashidas:");
|
||||
let mut k = cur(d, "p.kashidas", &pv["kashidas"]).as_bool().unwrap_or(true);
|
||||
if ui.checkbox(&mut k, "In justified Arabic text").changed() {
|
||||
d.fields.insert("p.kashidas".into(), json!(k));
|
||||
}
|
||||
ui.end_row();
|
||||
});
|
||||
}
|
||||
"color" => {
|
||||
|
||||
Reference in New Issue
Block a user