From 730ad5b3af10cf4442e14e8c4555f6a8e124c6c2 Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Mon, 5 Nov 2012 11:29:12 -0800 Subject: [PATCH] Add auto-fit setting, update property before calling onchange. --- guacamole/src/main/webapp/index.xhtml | 31 ++++++++++++ .../src/main/webapp/scripts/interface.js | 49 +++++++++++------- guacamole/src/main/webapp/scripts/session.js | 14 ++++-- guacamole/src/main/webapp/styles/login.css | 50 +++++++++++-------- 4 files changed, 99 insertions(+), 45 deletions(-) diff --git a/guacamole/src/main/webapp/index.xhtml b/guacamole/src/main/webapp/index.xhtml index 7bc839487..e98ddc65e 100644 --- a/guacamole/src/main/webapp/index.xhtml +++ b/guacamole/src/main/webapp/index.xhtml @@ -90,6 +90,23 @@ +

Settings

+
+
+
+ + Auto-fit display to browser window. +
+
+ If checked, remote displays are automatically + scaled to exactly fit within the browser window. If + unchecked, remote displays are always shown at their + natural resolution, even if doing so causes the display + to extend beyond the bounds of the window. +
+
+
+
@@ -103,8 +120,13 @@