Skip to content

Commit 2b25d2b

Browse files
committed
fixed warning from material field
- fixed text trimming
1 parent e76aa59 commit 2b25d2b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

editor/src/plugins/material/editor.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,7 @@ impl MaterialFieldEditorBuilder {
298298
.add_column(Column::auto())
299299
.add_column(Column::auto())
300300
.add_column(Column::auto())
301+
.add_column(Column::auto())
301302
.build(ctx);
302303

303304
let (image_preview_tooltip, image_preview) = make_asset_preview_tooltip(None, ctx);
@@ -327,7 +328,7 @@ impl MaterialFieldEditorBuilder {
327328
)
328329
.add_row(Row::auto())
329330
.add_row(Row::auto())
330-
.add_column(Column::auto())
331+
.add_column(Column::stretch())
331332
.build(ctx);
332333

333334
let editor = MaterialFieldEditor {

0 commit comments

Comments
 (0)