This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Created attachment 115828 [details] screenshot with too small input height On Project Properties screen "Arguments" input has too small height to show underscore symbol. See attached screenshot.
The screenshot also shows that text fields and labels get cropped on the right side, indicating that the whole dialog design should be checked. Reassigning to php team.
Well, I don't think that this should be fixed in PHP area since then every such problem with any panel in Project Properties dialog would need to be handled by the panel author. Would not be better (and easier and more proper) to handle this in one place, in the Project Properties panel itself? Not sure what is the correct fix here, but perhaps: - add scroolbars? or, - set max width of any panel. If I'm wrong, please, reassign back and tell me how can I fix it. Thanks.
Sorry, there is no known infrastructure fix for properties panels which try to stuff in too many controls; either reduce the intrinsic size of the panel, or just let the user resize the dialog if it is necessary. Historic attempts to make the dialog resize itself automatically failed to behave reasonably.
Petře, don't you know whether there is a way to correctly solve this issue? Putting the whole panel to the scroll pane does not seem to be a correct fix (at least to me). Thanks for any advice.
Actually I have seen similar issues, and they generally follow from using freeform designer (=GroupLayout Swing layout manager) combined with deficiencies in panel design. In my experience switching to another layout (GridBagLayout) helps to avoid all problems with the slightly reduced height of one-line TextFields and ComboBoxes. As for the crop on the right - it seems to me that the panel adjusts its width to the largest minimal width of a component, in this case to the too long label in the bottom (T:\Apps\...). I would try to display the same information differently, either multi-line, or in a read-only TextArea. I would expect the rest of the panel would then adjust itself and all TextFields in it to the width of the enclosing dialog pane (in case of GridBagLayout I would set TextFields and the ComboBox to have the Fill set to Horizontal with nonzero X weight).
Should be fixed. Thanks for reporting. http://hg.netbeans.org/web-main/rev/e35de8f9c978
Integrated into 'main-golden', will be available in build *201205230300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/e35de8f9c978 User: Tomas Mysik <tmysik@netbeans.org> Log: #208518 - "arguments" input has too small height in project properties
I checked all 4 run options: - Local Web Site - all OK - Remote Web Site - all OK - Script - if the "Arguments" or "PHP Options" are too long, it again shifts buttons to the right, just like in the screenshot from description - Built-in Web Server - path to router script is OK, long hostname again shifts elements to the right, but I don't think there is someone using such a long hostname GTK L&F Product Version: NetBeans IDE Dev (Build 201206110001) Java: 1.6.0_33; Java HotSpot(TM) Client VM 20.8-b03 System: Linux version 3.0.0-20-generic-pae running on i386; UTF-8; en_US (nb)
So now, I hope. Attaching screenshot... http://hg.netbeans.org/web-main/rev/60322f83cff9
Created attachment 120758 [details] screen shot
Integrated into 'main-golden', will be available in build *201206140001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/60322f83cff9 User: Tomas Mysik <tmysik@netbeans.org> Log: #208518 con't - "arguments" input has too small height in project properties
verified, thanks Product Version: NetBeans IDE Dev (Build 201206140001) Java: 1.7.0_04; Java HotSpot(TM) Client VM 23.0-b21 System: Linux version 3.0.0-21-generic-pae running on i386; UTF-8; en_US (nb)