Skip to content

Commit 07cc03d

Browse files
committed
Restore column width
1 parent 1521020 commit 07cc03d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/array_table.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -636,12 +636,12 @@ impl<'array> ArrayTable<'array> {
636636
table = table.column(Column::initial(40.0).clip(true).resizable(true));
637637
continue;
638638
}
639-
table = table.column(Column::initial(10.0).clip(true).resizable(true));
640-
// table = table.column(
641-
// Column::initial((columns[i].name.len() + 3).max(10) as f32 * text_width)
642-
// .clip(true)
643-
// .resizable(true),
644-
// );
639+
// table = table.column(Column::initial(10.0).clip(true).resizable(true));
640+
table = table.column(
641+
Column::initial((columns[i].name.len() + 3).max(10) as f32 * text_width)
642+
.clip(true)
643+
.resizable(true),
644+
);
645645
}
646646
}
647647

0 commit comments

Comments
 (0)