mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
fixed count label auto-size in flow_gl
This commit is contained in:
parent
886d1d8c03
commit
f5ce0fe3c8
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user