]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/table.cpp
Make font size a property of Style
[libs/gltk.git] / source / table.cpp
index 936be5cc61b032bb4c94ca7622a54e138fd5dbbd..67a93bc5bbaf0ccb1466350b90a006006e96c0e6 100644 (file)
@@ -57,7 +57,7 @@ void Table::render_special(const Part &part) const
        if(part.get_name()=="cells")
        {
                const GL::Font *const font = style->get_font();
-               const float font_size = font->get_default_size();
+               float font_size = style->get_font_size();
 
                unsigned free_width = geom.w;
                for(unsigned i=0; i<columns; ++i)