if(items_part)
{
const Sides &margin = items_part->get_margin();
- float font_size = style->get_font()->get_default_size();
+ float font_size = style->get_font_size();
unsigned max_w = 0;
for(vector<string>::iterator i=items.begin(); i!=items.end(); ++i)
items_part = style->get_part("items");
const GL::Font &font = *style->get_font();
- row_height = static_cast<unsigned>((font.get_ascent()-font.get_descent())*font.get_default_size());
+ row_height = static_cast<unsigned>((font.get_ascent()-font.get_descent())*style->get_font_size());
check_view_range();
}