Pagenum should be right padded
This commit is contained in:
parent
e60a7d9045
commit
7c914d7d13
@ -360,7 +360,7 @@ abstract class Frame
|
||||
if (strlen($frame) !== 1)
|
||||
throw new \Exception('Frame invalid',500);
|
||||
|
||||
return sprintf(WHITE.'% '.static::$pagenum_length.'.0f%s',$num,$frame);
|
||||
return WHITE.$num.$frame.(str_repeat(' ',static::$pagenum_length-strlen($num)));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user