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.
Please, fix all UI issues in New Database connection dialog like, incorrect alignment of UI components, the size of components, spacing, .... See the attached screenshot.
Created attachment 67503 [details] screenshot
A note: next time, please attach image with correct mime type...
I designed and tested this on the Mac, and things looked fine. I didn't know things would look significantly different on Windows, like they apparently do. Does this mean every UI element we create needs to be tested on all our supported platforms? Ugh. Attaching what it looks like on the Mac.
Sorry, I stand corrected, your screenshot appears to be on Ubuntu... By the way, I chose to have Additional Props off to the right a bit because otherwise all the other fields would be too far from their labels. But I agree the effect isn't that good either. What is standard practice? I'm sure there are guidelines for all of this, but I haven't seen them. Appreciate any pointers you may have.
Created attachment 67505 [details] Mac version of the dialog
I'm in this code for another issue at the moment. I can go ahead and clean up the layout issues (or redesign as a wizard). Let me know.
1fb65f939f9a
Integrated into 'main-golden', available in build *200808200201* on http://bits.netbeans.org/dev/nightly/ Changeset: http://hg.netbeans.org/main/rev/1fb65f939f9a User: Rob Englander <mindstream@netbeans.org> Log: #144020 Fixed up component sizing and alignment.
Verified with build 080820.
Created attachment 69400 [details] screenshot
The bug isn't still fixed see registerDialog.png: - 'Database' label text is bold - 'Remember password' checkbox isn't aligned - 'Show JDBC URL' checkbox isn't aligned
The screenshot was done in Product Version: NetBeans IDE Dev (Build 080909) Java: 1.5.0_11; Java HotSpot(TM) Client VM 1.5.0_11-b03
- 'Database' label text is bold Database is now a required field for MySQL connections. Bold is correct. - 'Remember password' checkbox isn't aligned Where do you want it to align? It is purposely offset to indicate it is a subfield of the password field. - 'Show JDBC URL' checkbox isn't aligned Where do you want it to align? It is positioned to be a psuedo label for the JDBC Url input field, which is displayed when the checkbox is checked. It is 1 or 2 pixels off alignment due to the way checkboxes are rendered. Is that what you're seeing?
- 'Database' label text is bold Database is now a required field for MySQL connections. Bold is correct. Is it the practice in NB that required fields are bold? We don't use this for other dialogs like New Project, ... - 'Remember password' checkbox isn't aligned Where do you want it to align? It is purposely offset to indicate it is a subfield of the password field. left edge of the text fields - 'Show JDBC URL' checkbox isn't aligned Where do you want it to align? It is positioned to be a psuedo label for the JDBC Url input field, which is displayed when the checkbox is checked. It is 1 or 2 pixels off alignment due to the way checkboxes are rendered. Is that what you're seeing? left side of the labels
Bolding required fields is not new for this dialog. If that behavior is being questioned please open a new issue. I'll update the alignments as suggested.
Reported as issue #146656
04332a99281b
Verified with build 080910.
Integrated into 'main-golden', will be available in build *200809111401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/04332a99281b User: Rob Englander <mindstream@netbeans.org> Log: #144020 Adjusted a few field alignments.