[CLOSED] how to change formpanel's background color to Transparent?

  1. #1

    [CLOSED] how to change formpanel's background color to Transparent?

    <ext:Window runat="server" ID="w_addcol" Hidden="True" Title="新增栏目" Layout="HBoxLayout" Width="270">
    
                <LayoutConfig>
                    <ext:HBoxLayoutConfig Pack="Center" />
                </LayoutConfig>
                <Items>
                    <ext:FormPanel runat="server" Layout="AnchorLayout" Padding="4">
                        <Defaults>
                            <ext:Parameter Name="InputWidth" Value="138"/>
                            <ext:Parameter Name="LabelWidth" Value="70"/>
                        </Defaults>
                        <Items>
                            <ext:NumberField ID="NumberField1"      runat="server" FieldLabel="父级栏目id"></ext:NumberField>
                            <ext:TextField ID="TextField1"   runat="server" FieldLabel="栏目名称"></ext:TextField>
                        </Items>
                        <Buttons>
                            <ext:Button ID="Button1" runat="server" Text="确认"></ext:Button>
                            <ext:Button ID="Button2" runat="server" Text="取消"></ext:Button>
                        </Buttons>
                    </ext:FormPanel>
    
                </Items>
    
            </ext:Window>
    because formpanel has a formreset method for reset the form, so I must use formpanel, but formpanel's background color is white, how to change it?
    Click image for larger version. 

Name:	QQ截图20130923211731.jpg 
Views:	16 
Size:	17.8 KB 
ID:	6923
    Last edited by Daniil; Oct 04, 2013 at 5:45 AM. Reason: [CLOSED]
  2. #2
    Hi @hdsoso,

    Please edit the post wrapping the code in [CODE] tags.
  3. #3
    Quote Originally Posted by Daniil View Post
    Hi @hdsoso,

    Please edit the post wrapping the code in [CODE] tags.
    I did it. :):):):)
  4. #4
    Thank you.

    Please set up these settings for the FormPanel.
    BodyStyle="background: none;" Border="false"

Similar Threads

  1. [CLOSED] Change TreePanel background color and toolbar color
    By jchau in forum 2.x Legacy Premium Help
    Replies: 5
    Last Post: Dec 07, 2012, 4:42 PM
  2. [CLOSED] the css background-color:Transparent does not work for TextField
    By flormariafr in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Mar 10, 2010, 3:17 PM
  3. Replies: 12
    Last Post: Jun 17, 2009, 12:07 PM
  4. Replies: 2
    Last Post: Jan 07, 2009, 10:33 AM
  5. Change Tab background color or background image
    By georgelanes in forum 1.x Help
    Replies: 0
    Last Post: Nov 06, 2008, 3:55 PM

Posting Permissions