Mar 20, 2012, 12:30 PM
[CLOSED] Ext.net v2 Beta release: I can´t change font-size of displayfield
Hi
I can´t change font-size of displayfield... I´m trying set the properties StyleSpec, FieldStyle and LabelStyle, as follow
Thanks for any help.
I can´t change font-size of displayfield... I´m trying set the properties StyleSpec, FieldStyle and LabelStyle, as follow
Thanks for any help.
<%@ Page Language="vb" %>
<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<ext:ResourceManager ID="resManagerDividas" runat="server" />
<form id="form1" runat="server">
<ext:DisplayField runat="server" Text="I can´t change font-size of displayfield... (20px)" FieldStyle="font-size:20px;" StyleSpec="font-size:20px;" LabelStyle="font-size:20px;" />
<ext:DisplayField ID="DisplayField1" runat="server" Text="I can´t change font-size of displayfield... (15px)" FieldStyle="font-size:15px;" StyleSpec="font-size:15px;" LabelStyle="font-size:15px;"/>
<ext:DisplayField ID="DisplayField2" runat="server" Text="I can´t change font-size of displayfield... (10px)" FieldStyle="font-size:10px;" StyleSpec="font-size:10px;" LabelStyle="font-size:10px;"/>
<ext:DisplayField ID="DisplayField3" runat="server" Text="I can´t change font-size of displayfield... (5px)" FieldStyle="font-size:5px;" StyleSpec="font-size:5px;" LabelStyle="font-size:5px;"/>
</form>
</body>
</html>
Last edited by Daniil; Mar 22, 2012 at 1:33 PM.
Reason: [CLOSED]