fixed count label auto-size in flow_gl

This commit is contained in:
Luis Ángel San Martín 2013-10-25 22:48:32 +02:00
parent 886d1d8c03
commit f5ce0fe3c8

View File

@ -306,7 +306,9 @@ void YACReaderFlowGL::paintGL()
void YACReaderFlowGL::resizeGL(int width, int height) void YACReaderFlowGL::resizeGL(int width, int height)
{ {
fontSize = width * 0.015; fontSize = (width + height) * 0.010;
if(fontSize < 10)
fontSize = 10;
//int side = qMin(width, height); //int side = qMin(width, height);
udpatePerspective(width,height); udpatePerspective(width,height);