mirror of
https://github.com/YACReader/yacreader
synced 2025-07-18 21:14:33 -04:00
fixed count label auto-size in flow_gl
This commit is contained in:
@ -306,7 +306,9 @@ void YACReaderFlowGL::paintGL()
|
||||
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);
|
||||
udpatePerspective(width,height);
|
||||
|
Reference in New Issue
Block a user