Skip to content

Commit e80f4d2

Browse files
committed
add info labels to wrapping demo
1 parent 390928f commit e80f4d2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

examples/demo/src/apps/wrapping.rs

+2
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ impl Show for WrappingExample {
3434

3535
fn show(&mut self, ui: &mut Ui) {
3636
ui.hyperlink_to("Source", "https://github.com/dmackdev/egui_json_tree/blob/master/examples/demo/src/apps/wrapping.rs");
37+
ui.label("Use the controls below to configure the text wrapping options for primitive JSON values within the visualisation.");
38+
ui.label("Text is truncated when it cannot fit in the specified width and number of rows.");
3739
ui.add_space(10.0);
3840

3941
self.show_max_rows_controls(ui);

0 commit comments

Comments
 (0)