Several layout issues were fixed
authorEugene Ostroukhov <eugeneo@symbian.org>
Wed, 30 Jun 2010 17:10:46 -0700
changeset 408 9985028ffc2c
parent 407 c7c8bde493b1
child 409 cc687be9a816
Several layout issues were fixed
org.symbian.tools.wrttools.previewer/preview/css/style.css
org.symbian.tools.wrttools.previewer/preview/script/helper.js
org.symbian.tools.wrttools.previewer/preview/wrt_preview.html
--- a/org.symbian.tools.wrttools.previewer/preview/css/style.css	Wed Jun 30 16:50:22 2010 -0700
+++ b/org.symbian.tools.wrttools.previewer/preview/css/style.css	Wed Jun 30 17:10:46 2010 -0700
@@ -548,7 +548,7 @@
 	padding: 0.4em 0.6em 0.8em;
 	text-align: center;
 	vertical-align: middle;
-	width: 100px !important;
+	width: 120px !important;
 }
 
 div#slider-value-panel{
--- a/org.symbian.tools.wrttools.previewer/preview/script/helper.js	Wed Jun 30 16:50:22 2010 -0700
+++ b/org.symbian.tools.wrttools.previewer/preview/script/helper.js	Wed Jun 30 17:10:46 2010 -0700
@@ -264,13 +264,6 @@
 				NOKIA.helper.loadPreferences();
 			});
 
-	// Hack for Mac firefox
-	if (/Mac/i.test(navigator.userAgent)) {
-		if (!(/AppleWebKit/i.test(navigator.userAgent))) {
-			$("#resOptions")[0].size = '4';
-		}
-	}
-
 	$("#iframeMask").click(function() {
 		$("#orientationIcon").hide();
 		$("#iframeMask").hide();
--- a/org.symbian.tools.wrttools.previewer/preview/wrt_preview.html	Wed Jun 30 16:50:22 2010 -0700
+++ b/org.symbian.tools.wrttools.previewer/preview/wrt_preview.html	Wed Jun 30 17:10:46 2010 -0700
@@ -99,7 +99,7 @@
 			<tr>
 				<th>Screen Resolution:</th>
 				<td>
-					<select id="resOptions">
+					<select id="resOptions" size="1">
 						<option selected="selected" value="http://www.forum.nokia.com/devices/matrix_240x320_1.html">240x320</option>
 						<option value="http://www.forum.nokia.com/devices/matrix_320x240_1.html">320x240</option>
 						<option value="http://www.forum.nokia.com/devices/matrix_360x640_1.html">360x640</option>