Sep 08, 2011, 9:49 AM
[CLOSED] How to reduce the padding for buttons at panel bottom?
Hi,
I have added button to the panel and aligned center. I want to reduce the default padding above and below of the button as showing in the screenshot. Can you please let me know how can it be possible?
I have added button to the panel and aligned center. I want to reduce the default padding above and below of the button as showing in the screenshot. Can you please let me know how can it be possible?
<ext:Viewport ID="Viewport1" runat="server" Layout="BorderLayout" StyleSpec="bg">
<Items>
<ext:Panel ID="pnlProfile" runat="server" Region="Center" Layout="BorderLayout" Border="false"
ButtonAlign="Center">
<Items>
<ext:Panel ID="Panel1" runat="server" Region="Center" Layout="BorderLayout" Border="true"
BodyStyle="background-color:#ffffff" Padding="5">
<Items>
<ext:Panel ID="pnlAdminMsg" runat="server" Region="Center" Margins="5,5,5,5" Layout="BorderLayout"
Border="false">
<Items>
<ext:TextArea ID="txtMessage" runat="server" Region="Center" AutoScroll="true">
</ext:TextArea>
</Items>
</ext:Panel>
<ext:Panel ID="pnlAdminGrdMsgs" runat="server" Region="South" Collapsible="true"
Collapsed="true" MaxHeight="100" Height="100" Layout="BorderLayout" Border="false">
<Items>
</Items>
</ext:Panel>
</Items>
</ext:Panel>
</Items>
<Buttons>
<ext:Button ID="btnAddNotice" runat="server" Text="Add Notice" Icon="Add">
</ext:Button>
</Buttons>
</ext:Panel>
</Items>
</ext:Viewport>