- const GL::Font *font = style->get_font();
- float font_size = font->get_default_size();
- unsigned line_height = static_cast<unsigned>((font->get_ascent()-font->get_descent())*font_size);
- geom.h = max(geom.h, line_height+margin.top+margin.bottom);
- }
-}
-
-void Dropdown::append(const string &item)
-{
- list.append(item);
- resize_list();
-}