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.
[ BUILD # : 200909081533 ] [ JDK VERSION : 1.6.* ] See attachment...
Created attachment 87463 [details] SVN commit dialogue
I think it's how it's supposed to be. The commit message area takes approximately a half of the dialog (i think it's how box layout behaves?). Marian, can you evaluate?
I agree we could set some limit of the message area's hight. I suggest that the limit would be 5 lines.
OK, i agree.
The change is not trivial with the current layout manager (BoxLayout). By setting (in fact, lowering) maximum size of the message, its resizing weight will be significantly lowered, too. The consequence is that the commit message area becomes virtually non-resizable, which is not the expected behaviour. I know of two possible solutions at the moment: a) Use a custom modified BoxLayout, which would derive resizing weights from the components' preferred sizes and not from their maximum sizes b) Use a completely different layout manager for laying out the commit message area and possibly other parts of the dialogue. The problem here is that BoxLayout provides a feature that other layout managers do not provide - it respects maximum size of components.
> The consequence is that the commit message area becomes virtually non-resizable, which is not the expected behaviour. I could live with this (I guess, you mean, that on resizing the dialogue, only the files area mainly would be resized), but I would prefer using JSplitPane to separate the message area from the files area.
Another solution: Make the text area just 2 or 3 lines high intially. As the user enters more text, resize the text area accordingly. Just set a limit to (for example) 6 lines, such that when the user starts typing on the seventh line, the message area would not grow but a scroll bar would appear instead.
> Another solution: Great, I would like this too, maybe: 2 -> 10 -> scrollbar
Created attachment 132346 [details] GIT Commit window
It is much better now in v7.3. It is implemented not exactly on the way what was asked for, but already better as in earlier releases... Should we complain more...? :D DelD.