[CLOSED] Panel Buttons Width

  1. #1

    [CLOSED] Panel Buttons Width

    Hi,

    I have something like this example:

    <ext:Panel ID="centerDetailsFormWrapper" runat="server" Layout="HBoxLayout" Height="500" Border="false" ButtonAlign="Right">
            <Items>
                <ext:Label runat="server" Text="Some text"></ext:Label>
            </Items>
            <Buttons>
                <ext:Button runat="server" Icon="Accept" Width="32"></ext:Button>
                <ext:Button runat="server" Icon="Cancel"></ext:Button>
            </Buttons>
        </ext:Panel>
    But buttons width in buttons tag doesn't apply.

    In Ext.NET v1.x buttons without text automatically fits around 32pixels, but now it have 69px width by default and isn't possible to set it to another width.

    Thanks in advance
    Last edited by Daniil; Jul 10, 2012 at 12:54 PM. Reason: [CLOSED]
  2. #2
    Hi,

    Please decrease the default (75) MinButtonWidth of the Panel.
    http://docs.sencha.com/ext-js/4-1/#!...minButtonWidth
  3. #3
    Thanks it works!

Similar Threads

  1. [CLOSED] Grid Panel : Column width (Auto width)
    By legaldiscovery in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Sep 24, 2011, 8:31 PM
  2. [CLOSED] Panel height with buttons
    By bakardi in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Mar 01, 2011, 3:58 PM
  3. Replies: 20
    Last Post: Feb 23, 2011, 5:49 PM
  4. [CLOSED] Code Behind Buttons, property Width has no effect
    By jcanton in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Jul 02, 2009, 2:02 PM
  5. [CLOSED] Panel Buttons
    By Timothy in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Jul 24, 2008, 8:42 PM

Tags for this Thread

Posting Permissions