Label style

  1. #1

    Label style



    I would like to add a Title in each page, inside a content-panel, but I can't manage to do it, I tried to do:

    
    
    
    <ext:Label ID="Label1" runat="server" Text="Default" LabelStyle ="text-align:left; font-size:40px; background-color: red;" >
    but it doesn't work at all. it doesn't get the LabelStyle.

    Any ideas??
  2. #2

    RE: Label style

    Hi Javito,

    Please try like this.

    
    <ext:Label ID="Label1" runat="server" Text="Default" StyleSpec ="text-align:left; font-size:40px; background-color: red;" ></ext:Label>

    Regards,

    BOBS
  3. #3

    RE: Label style

    Thanks styles works fine that way, but I realice that if you put a Label insade a BorderLayout the Text doesn't appear nicely, the words are cut at the top, I heve been trying to fix it but I don't know how to do it, so finnaly I did this:

    
    
    
    <ext:BorderLayout runat="server">
        <North>
            <ext:Panel ID="Panel1" runat="server" BodyStyle="color: #154285; font-size: X-large; background-        color:transparent;"> 
                <Body>
                    Control de Incidencias
                </Body> 
            </ext:Panel> 
    </North>
    <Center>
    and so on... and it works perfecly!

Similar Threads

  1. Replies: 3
    Last Post: Aug 04, 2010, 9:00 PM
  2. [CLOSED] Label Style / Obtain label color based on theme
    By rthiney in forum 1.x Legacy Premium Help
    Replies: 11
    Last Post: Apr 15, 2010, 10:35 AM
  3. Style and Css
    By Yannis in forum 1.x Help
    Replies: 4
    Last Post: Oct 28, 2009, 10:12 AM
  4. checkbox style bug
    By Kaido in forum Bugs
    Replies: 0
    Last Post: Jun 19, 2009, 4:26 AM
  5. How to set style of label?
    By dbassett74 in forum 1.x Help
    Replies: 2
    Last Post: May 07, 2009, 6:36 PM

Posting Permissions