-
1 Jul 2010 5:38 AM #1
[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);
}
-
1 Jul 2010 5:41 AM #2
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.
Thank you for reporting this bug. We will make it our priority to review this report.
Similar Threads
-
[CLOSED] Trigger have wrong background color and looks flat.
By Stju in forum Ext 3.x: BugsReplies: 2Last Post: 2 Mar 2010, 2:57 PM -
Ext.form.TriggerField shows wrong trigger-button
By defcon1 in forum Ext 3.x: Help & DiscussionReplies: 2Last Post: 18 Feb 2010, 5:47 AM -
[2.2.x][CLOSED] FileUploadField textfield has width 0 when render hidden
By maloi in forum Ext 2.x: BugsReplies: 3Last Post: 10 Feb 2009, 6:53 AM -
hiding the trigger in a TriggerField
By mindstream in forum Community DiscussionReplies: 0Last Post: 14 Nov 2008, 7:56 AM -
[2.0][CLOSED] TextField (Type=File) not possible to change size
By Iveco in forum Ext 2.x: BugsReplies: 4Last Post: 23 Dec 2007, 7:26 PM


Reply With Quote