Results 1 to 2 of 2

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

    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
    Vote Rating

    Default [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
    protected Size adjustInputSize() {
    return new Size(trigger.getStyleSize().width, 0);

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

  2. #2
    Sencha Premium Member
    Join Date
    Sep 2007
    Vote Rating


    Thanks, but you could have read the bugforum guidelines and used the forum search:

    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

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts