NetLogo / HubNet-Webapp

A webapp that manages HubNet activities on a server.
4 stars 1 forks source link

Applet should be resized based on activity #4

Closed lukas-shawford closed 13 years ago

lukas-shawford commented 13 years ago

After you join an activity (either as a teacher or student), it would be great if the applet resized itself automatically to fit the content of the activity. If the applet is too small, then part of the interface won't fit, and that's a big problem. If the applet is too large, then at least it's usable, but it looks bad since the panel containing all the widgets is centered, which leaves a lot of room around the outside, and you might need to scroll down and to the right a bit to see the activity on screen.

It's possible to resize an applet, but it won't happen automatically - we need to do it ourselves. And we need to do it after the activity is loaded - we don't know the size beforehand.

lukas-shawford commented 13 years ago

Fixed: https://github.com/NetLogo/HubNet-Webapp/commit/fe2eccd9c13b4193e87812acd5a680fdeb1f9335