[CLOSED] LabelAlign in checkbox appears don´t take effect.

  1. #1

    [CLOSED] LabelAlign in checkbox appears don´t take effect.

    Hi

    I set LabelAling property in checkbox, but this action appears don´t take effect.

    What am I doing wrong?

    My test page:
    <%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Test13.aspx.vb" Inherits="WebApplication3.Test13" %>
    <%@ 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="ResourceManager1" runat="server" Locale="pt-BR" Namespace="SuperaWeb.SGE.Agendas.Salas" />
        <form id="form1" runat="server">
        <ext:FieldSet runat="server" ID="fsSistemaSom" Layout="AbsoluteLayout" Title="Label Align=Right" Width="350" Height="130">
            <Defaults>
                <ext:Parameter Name="LabelAlign" Value="Right" Mode="Value" />
            </Defaults>
            <Items>
                <ext:Checkbox runat="server" ID="chkMicrofoneMesa" FieldLabel="Microfone na mesa" X="5" Y="5" LabelWidth="250" Width="300"/>
                <ext:Checkbox runat="server" ID="chkMicrofoneSemFio" FieldLabel="Microfone sem fio" X="5" Y="25" LabelWidth="250"  Width="300"/>
                <ext:Checkbox runat="server" ID="chkMicrofonePulpito" FieldLabel="Microfone Público" X="5" Y="45" LabelWidth="250" Width="300"/>
                <ext:TextField runat="server" ID="txtSistemaSom_Outros" FieldLabel="Outro" X="5" Y="65" Width="120" LabelAlign="Top"/>
            </Items>
        </ext:FieldSet>
        <ext:FieldSet runat="server" ID="FieldSet1" Layout="AbsoluteLayout" Title="Label Align=Left" Width="350" Height="130">
            <Defaults>
                <ext:Parameter Name="LabelAlign" Value="Left" Mode="Value" />
            </Defaults>
            <Items>
                <ext:Checkbox runat="server" ID="Checkbox1" FieldLabel="Microfone na mesa" X="5" Y="5" LabelWidth="250" Width="300"/>
                <ext:Checkbox runat="server" ID="Checkbox2" FieldLabel="Microfone sem fio" X="5" Y="25" LabelWidth="250"  Width="300"/>
                <ext:Checkbox runat="server" ID="Checkbox3" FieldLabel="Microfone Público" X="5" Y="45" LabelWidth="250" Width="300"/>
                <ext:TextField runat="server" ID="TextField1" FieldLabel="Outro" X="5" Y="65" Width="120" LabelAlign="Top"/>
            </Items>
        </ext:FieldSet>
        </form>
    </body>
    </html>
    Last edited by Daniil; Feb 23, 2012 at 3:17 PM. Reason: [CLOSED]
  2. #2
    Hi,

    The LabelAlign value should be lower case when you set up it via Defaults.
    <ext:Parameter Name="LabelAlign" Value="right" Mode="Value" />
    But, I guess, this is not what you need, please try to use BoxLabel instead of FieldLabel. A BoxLabel appears on the right from a Checkbox.
  3. #3
    Hi Daniil

    You are right! I wish the boxlabel property!

    Thanks a lot.

Similar Threads

  1. Replies: 2
    Last Post: May 16, 2012, 4:35 PM
  2. Replies: 1
    Last Post: Apr 20, 2012, 3:23 PM
  3. Replies: 2
    Last Post: Apr 17, 2012, 12:00 PM
  4. Replies: 2
    Last Post: Mar 16, 2012, 7:09 PM
  5. [CLOSED] [1.0] LabelAlign
    By Timothy in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Mar 13, 2010, 5:48 PM

Posting Permissions