Problem in Padding in Controls like Text field, Combo

  1. #1

    Problem in Padding in Controls like Text field, Combo

    Hi,
    Facing problems in using of Padding, Margin in Controls like Text field, Combo.

    Please help me out.

    I can use Padding,Margin in container, Panel etc.

    Regards
    Anshuman
    Attached Thumbnails Click image for larger version. 

Name:	Error Padding in Controls.png 
Views:	104 
Size:	33.8 KB 
ID:	24389  
  2. #2
    Hello @anshu78! Welcome to Ext.NET forums!

    Notice that the Padding= property only allows an integer value. For the individual CSS-like specification, you should use PaddingSpec=.

    For example, these two are the same:

    <ext:TextField runat="server" PaddingSpec="50 50 50 50" Text="Hello!" />

    <ext:TextField runat="server" Padding="50" Text="Hello!" />

    But this one has a narrower top padding:
    <ext:TextField runat="server" PaddingSpec="10 50 50 50" Text="Hello!" />


    Margins works just like this.
    Fabrício Murta
    Developer & Support Expert

Similar Threads

  1. Replies: 2
    Last Post: Sep 23, 2015, 4:50 AM
  2. [CLOSED] Padding inside text field onblur
    By maurox in forum 3.x Legacy Premium Help
    Replies: 2
    Last Post: Jul 20, 2015, 1:13 PM
  3. [CLOSED] TextField text padding
    By RCN in forum 3.x Legacy Premium Help
    Replies: 2
    Last Post: Feb 19, 2015, 10:44 AM
  4. Combo Box TEXT Problem
    By EMS in forum 1.x Help
    Replies: 1
    Last Post: Dec 07, 2010, 2:36 PM
  5. [CLOSED] Problem with Tab Key press in Text Field
    By speedstepmem3 in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Sep 24, 2010, 4:24 PM

Posting Permissions