PDA

View Full Version : [CLOSED] how to change formpanel's background color to Transparent?



hdsoso
Sep 23, 2013, 1:20 PM
<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?
6923

Daniil
Sep 23, 2013, 2:41 PM
Hi @hdsoso,

Please edit the post wrapping the code in [CODE] tags.

hdsoso
Sep 23, 2013, 3:28 PM
Hi @hdsoso,

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

Daniil
Sep 24, 2013, 3:37 AM
Thank you.

Please set up these settings for the FormPanel.

BodyStyle="background: none;" Border="false"