Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext GWT Premium Member
    Join Date
    Apr 2010
    Posts
    5
    Vote Rating
    0
    Fred4242 is on a distinguished road

      0  

    Default [CLOSED] TriggerField: size of textfield wrong if trigger is hidden [GXT2.1.3]

    [CLOSED] TriggerField: size of textfield wrong if trigger is hidden [GXT2.1.3]


    If you use a TriggerField with a hidden trigger instead of a TextField the size of the TextField is too small because the trigger size will always be subtracted. hideTrigger is not taken into account.

    With gxt2.1.3 and TriggerField.java
    @Override
    protected Size adjustInputSize() {
    return new Size(trigger.getStyleSize().width, 0);
    }

    This small change solves this problem.
    @Override
    protected Size adjustInputSize()
    {
    return new Size(isHideTrigger()?0:trigger.getStyleSize().width, 0);
    }

  2. #2
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,966
    Vote Rating
    130
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    Thanks, but you could have read the bugforum guidelines and used the forum search: http://www.sencha.com/forum/showthre...-bug-GXT-2.1.3

    This thread is one page before yours.

Similar Threads

  1. Replies: 2
    Last Post: 2 Mar 2010, 2:57 PM
  2. Ext.form.TriggerField shows wrong trigger-button
    By defcon1 in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 18 Feb 2010, 5:47 AM
  3. Replies: 3
    Last Post: 10 Feb 2009, 6:53 AM
  4. hiding the trigger in a TriggerField
    By mindstream in forum Community Discussion
    Replies: 0
    Last Post: 14 Nov 2008, 7:56 AM
  5. Replies: 4
    Last Post: 23 Dec 2007, 7:26 PM

Thread Participants: 1

Tags for this Thread

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar