diff --git a/src/gui/treemap_widget/imp.rs b/src/gui/treemap_widget/imp.rs index 54b6e22..7972619 100644 --- a/src/gui/treemap_widget/imp.rs +++ b/src/gui/treemap_widget/imp.rs @@ -237,7 +237,8 @@ impl WidgetImpl for TreeMapWidget { let text_offset = pango::units_to_double( *&obj.pango_context().font_description().unwrap().size(), ) as f32 - + 2.0; + * 1.1; + self.gui_node_map.replace(squarify::compute_gui_nodes( &tree, root,