mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-16 06:38:03 +08:00
Make selected Text category nodes show a multi-line text area instead of one-line text field (#2816)
* Make String Value node input a TextArea Signed-off-by: ezbaze <68749104+Ezbaze@users.noreply.github.com> * Replace link to Tauri Signed-off-by: ezbaze <68749104+Ezbaze@users.noreply.github.com> * Make String Concatenate node & Replace String node inputs into a TextArea Signed-off-by: ezbaze <68749104+Ezbaze@users.noreply.github.com> --------- Signed-off-by: ezbaze <68749104+Ezbaze@users.noreply.github.com>
This commit is contained in:
@@ -162,6 +162,7 @@ pub(crate) fn property_from_type(
|
||||
Some("SeedValue") => number_widget(default_info, number_input.int().min(min(0.))).into(),
|
||||
Some("Resolution") => coordinate_widget(default_info, "W", "H", unit.unwrap_or(" px"), Some(64.)),
|
||||
Some("PixelSize") => coordinate_widget(default_info, "X", "Y", unit.unwrap_or(" px"), None),
|
||||
Some("TextArea") => text_area_widget(default_info).into(),
|
||||
|
||||
// For all other types, use TypeId-based matching
|
||||
_ => {
|
||||
|
||||
Reference in New Issue
Block a user