Apr 24, 2013, 2:53 PM
[CLOSED] Problem change font size of textfield in Google Chrome
Hi,
when I change the font size in textfield in Google Chrome, when the page appears the text is cut to half.
The font is corrected after first change.
I use: Ext.Net revision 5087,
VS 2010,
Chrome 26.0.1410.64 m
See my example:
Jimmy
when I change the font size in textfield in Google Chrome, when the page appears the text is cut to half.
The font is corrected after first change.
I use: Ext.Net revision 5087,
VS 2010,
Chrome 26.0.1410.64 m
See my example:
<%@ Page Language="C#" %>
<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title></title>
<script runat="server">
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack && !X.IsAjaxRequest)
{
this.txtF.Text = "12345";
this.txtF.FieldStyle = "font-size: 28px !important;";
this.txtF.Height = Unit.Pixel(33);
}
}
</script>
</head>
<body>
<form id="form1" runat="server">
<ext:ResourceManager ID="ResourceManager1" runat="server" />
<ext:Panel ID="pnlTest" runat="server" >
<Items>
<ext:TextField ID="txtF" runat="server"></ext:TextField>
</Items>
</ext:Panel>
</form>
</body>
</html>
Thank youJimmy
Last edited by Daniil; Apr 30, 2013 at 4:17 AM.
Reason: [CLOSED]