Simplify and automatic adjustment with tight_layout

Signed-off-by: Jonas Kalderstam <jonas@kalderstam.se>