thanks for all your help until now, i have a bit of a nuisance, but it seems i can't let it go.
I have cesium in a small div (eg. 300x300px) quadratic showing the complete globe. When going into fullscreen the globe is cut at the top and the bottom of the screen (because the screen is wider the its height).
Trying out the resize functionality i can see that if a change the height of my window, the size of the globe is constant (i.e. when the height get small enough it just gets cut). But when changing the width of the window the globe changes size.
I have looked at the CesiumWidget.prototype.resize method and what gets called to understand what exactly is going on, but i cannot quite understand the different behavior of height and width re-sizing.
Can i modify or adapt the resize in any manner so that when going into fullscreen it would show more or less the same view? I.e. complete globe in the center?
I imagine the whole problem is in the change of aspect ratio from 1:1 to 16:9, so i don't know if there is a solution for this.
I played around with introducing some padding to the canvas element when resizing but then it gets cut on the sides when in full screen.
I would appreciate any thoughts on this,
Have a nice weekend!