geom.w = max(geom.w, text.get_width()+margin.left+margin.right);
geom.h = max(geom.h, text.get_height()+margin.top+margin.bottom);
}
geom.w = max(geom.w, text.get_width()+margin.left+margin.right);
geom.h = max(geom.h, text.get_height()+margin.top+margin.bottom);
}