Author: jonathan Date: Wed Feb 18 16:03:48 2009 New Revision: 31085 URL: http://wso2.org/svn/browse/wso2?view=rev&revision=31085
Log: MASHUP-1139: made text fields absolute width rather than relative to font size. Displaying with larger fonts now will look better (until extremes are met, where we start to encounter bigger issues.) Modified: branches/mashup/java/1.5/java/modules/www/search.jsp Modified: branches/mashup/java/1.5/java/modules/www/search.jsp URL: http://wso2.org/svn/browse/wso2/branches/mashup/java/1.5/java/modules/www/search.jsp?rev=31085&r1=31084&r2=31085&view=diff ============================================================================== --- branches/mashup/java/1.5/java/modules/www/search.jsp (original) +++ branches/mashup/java/1.5/java/modules/www/search.jsp Wed Feb 18 16:03:48 2009 @@ -675,7 +675,7 @@ </select> </td> <td valign="top"> - <input type="text" id="user-mashups" autocomplete="off" + <input type="text" id="user-mashups" style="width:120px" autocomplete="off" onkeyup="getUserNames('user-mashups')" <% if (searchScope.equals("") || searchScope.equals(currentUser)) { %>style="display:none" <% } else { %>value="<%=searchScope%>"<% } %> @@ -686,7 +686,7 @@ </table> </td> <td> - <input id="searchMashups_for" type="text" name="for" size="50" + <input id="searchMashups_for" type="text" name="for" style="width:300px" value="<%= searchFor == null ? "(all mashups)" : searchFor %>" onfocus="prepareInput(event)" onblur="restoreInput(event,'(all mashups)')" class="emptyfield" /> <script type="text/javascript">initInput('searchMashups_for', '(all mashups)');</script> @@ -747,7 +747,7 @@ </select> </td> <td valign="top"> - <input type="text" id="user-comments" autocomplete="off" + <input type="text" id="user-comments" style="width:120px" autocomplete="off" onkeyup="getUserNames('user-comments')" <% if (searchScope.equals("") || searchScope.equals(currentUser)) { %>style="display:none" <% } else { %>value="<%=searchScope%>"<% } %> @@ -759,7 +759,7 @@ </table> </td> <td> - <input id="searchComments_for" type="text" name="for" size="50" + <input id="searchComments_for" type="text" name="for" style="width:300px" value="<%= searchFor == null ? "(all comments)" : searchFor %>" onfocus="prepareInput(event)" onblur="restoreInput(event,'(all comments)')" class="emptyfield"/> <script type="text/javascript">initInput('searchComments_for', '(all comments)');</script> _______________________________________________ Mashup-dev mailing list [email protected] https://wso2.org/cgi-bin/mailman/listinfo/mashup-dev
