[CLOSED] Cannot Increase Text Width in TagLabel

  1. #1

    [CLOSED] Cannot Increase Text Width in TagLabel

    Hi, I want to use the TagLabel from the examples explorer, but it looks like it stops at about 15 characters regardless of the width of the tag. Is there a setting or custom config or something that I can set to be able to use this control?

    <ext:Panel ID="Panel2" runat="server" Title="Home">
                                    <Items>
                                        <ext:TagLabel ID="TagLabel1" runat="server" Stacked="true" Padding="10" Width="200">
                                            <Tags>
                                                <ext:Tag Text="This is a long tag in the tag label">
                                                </ext:Tag>
                                            </Tags>
                                        </ext:TagLabel>
                                    </Items>
                                </ext:Panel>
  2. #2
    Hi @iansriley,

    Please use a TagLabel's MaxLength.
    MaxLength="50"
    It is 18 by default.
  3. #3

    One more question

    Last little request, is there a way to make the icon for a tagfield show up on the right side instead of the left?

    .clsIcon 
            {            
                text-align: right;
            }
     <ext:TagLabel ID="TagLabel1" runat="server" Stacked="true" Padding="10" Width="200" MaxLength="180">
                                        <Tags>
                                            <ext:Tag Text="" IconCls="clsIcon" Icon="Accept">
                                            </ext:Tag>
                                        </Tags>
                                    </ext:TagLabel>
    Last edited by iansriley; Aug 01, 2014 at 1:33 PM. Reason: One more question
  4. #4
    Try to apply the following css rules to tag
    padding-right: 25px !important;
    background-position: right 5px center !important;
  5. #5

    Works perfectly, please mark as closed.

    [CLOSED]

    Thank You,

Similar Threads

  1. [CLOSED] AutoRender="true" Causes all button text to increase in size
    By ptrourke in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: Jul 11, 2014, 1:27 PM
  2. How to increase width of combobox by cls property
    By yash.kapoor in forum 2.x Help
    Replies: 2
    Last Post: Aug 07, 2013, 4:57 AM
  3. How To Increase the width between each tabs
    By hyq01221987 in forum 1.x Help
    Replies: 0
    Last Post: Jan 05, 2013, 7:23 AM
  4. [CLOSED] How to increase the icon selection width
    By pawangyanwali in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: Nov 13, 2012, 10:13 AM
  5. How to Increase width of the confimration Box
    By praveencat123 in forum 1.x Help
    Replies: 0
    Last Post: Sep 04, 2012, 6:12 AM

Posting Permissions