Oct 13, 2009, 6:04 AM
[CLOSED] Hi how to align the label text to center?
Hi,
Hi how to align the label text to center?See the sample,I want the label text to center of two buttons,but for the below sample text is coming to left side.
For more inofrmation see the screen shot.
Hi how to align the label text to center?See the sample,I want the label text to center of two buttons,but for the below sample text is coming to left side.
For more inofrmation see the screen shot.
<%@ Register Assembly="Coolite.Ext.Web" Namespace="Coolite.Ext.Web" 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>
<form id="form1" runat="server">
<ext:ScriptManager ID="scm" runat="server">
</ext:ScriptManager>
<ext:Panel Border="false" ID="Panel106" runat="server" Width="400" Height="35">
<Body>
<ext:ColumnLayout ID="ColumnLayout2" runat="server" FitHeight="false">
<ext:LayoutColumn>
<ext:Panel Border="false" ID="Panel9" runat="server" Width="30">
<Body>
<ext:Button ID="btnPrevious" runat="server" Text="<">
</ext:Button>
</Body>
</ext:Panel>
</ext:LayoutColumn>
<ext:LayoutColumn ColumnWidth="1">
<ext:Panel Border="false" ID="Panel10" runat="server">
<Body>
<ext:Label ID="lblMsg" runat="server" Text="This Week">
</ext:Label>
</Body>
</ext:Panel>
</ext:LayoutColumn>
<ext:LayoutColumn>
<ext:Panel Border="false" ID="Panel11" runat="server" Width="30">
<Body>
<ext:Button ID="btnNext" runat="server" Text=">">
</ext:Button>
</Body>
</ext:Panel>
</ext:LayoutColumn>
</ext:ColumnLayout>
</Body>
</ext:Panel>
</form>
</body>
</html>