GeXueliu
GeXueliu

Reputation: 1

why I can't adjust Onlyoffice height on browser by changing "height" value

I tried to develop ONLYOFFFICE by java. but when I open a file, onlyoffice workspace becomes so small just like here.[enter image description here][1] and I tried to adjust it in editor.html like this. [enter image description here][2]

and it doesn't work. by the way when I change the "width" value, the width of onlyoffice can be changed, But whatever value attached to "height", it has nothing changed. [1]: https://i.sstatic.net/ARb32.png [2]: https://i.sstatic.net/c4Dl6.png

Upvotes: 0

Views: 146

Answers (1)

SANTHOSH.SJ
SANTHOSH.SJ

Reputation: 441

Rather than passing height in percentage, give it in px

"height" : "1000px"

Upvotes: 0

Related Questions