Browse Source

GUI positioning Tweaks

Master James 9 years ago
parent
commit
1b158c69e2
1 changed files with 9 additions and 1 deletions
  1. 9 1
      examples/webgl_lights_spotlight.html

+ 9 - 1
examples/webgl_lights_spotlight.html

@@ -146,7 +146,15 @@
 
 
 				gui = new dat.GUI();
 				gui = new dat.GUI();
 
 
-				gui.width = 180;
+				gui.width = 178;
+				
+				var gStyle = gui.domElement.style;
+				
+				gStyle.position = "absolute";
+				
+				gStyle.top = "48px";
+				
+				gStyle.height = "220px";
 
 
 				gui.open();
 				gui.open();
 			}
 			}