Added gaps to vertical containers
@@ -221,6 +221,7 @@ impl LayoutTree {
self.generic_tile(node_ix, geometry, children,
new_size_f, remaining_size_f, new_point_f,
fullscreen_apps);
+ self.add_gaps(node_ix);
}
}
}
@@ -648,7 +649,7 @@ impl LayoutTree {
}
}
geometry.size.w = geometry.size.w.saturating_sub(gap / 2);
- geometry.size.h = geometry.size.h.saturating_sub(gap );
+ geometry.size.h = geometry.size.h.saturating_sub(gap / 2);
geometry
},
// Do nothing, will get in the next recursion cycle
