| Summary: | [Smart project import] Buttons in wizard should have the same width | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Rüdiger Herrmann <ruediger.herrmann> | ||||
| Component: | UI | Assignee: | Rüdiger Herrmann <ruediger.herrmann> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | enhancement | ||||||
| Priority: | P3 | CC: | Lars.Vogel, mistria, psuzzi, ruediger.herrmann | ||||
| Version: | 4.6 | ||||||
| Target Milestone: | 4.6 M7 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| See Also: |
https://git.eclipse.org/r/70960 https://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=a13473aeb156855d65ef648453ece233c88ad337 https://git.eclipse.org/r/71131 https://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=5ad5a234eb34a4e739af9e7073386c0145e44852 |
||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Rüdiger Herrmann
Rüdiger, for which import wizard is this? Can you upload a Gerrit review for the fix? (In reply to Lars Vogel from comment #1) > Rüdiger, for which import wizard is this? This bug is about the Smart project import wizard New Gerrit change created: https://git.eclipse.org/r/70960 Gerrit change https://git.eclipse.org/r/70960 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=a13473aeb156855d65ef648453ece233c88ad337 Thanks Rudiger! Created attachment 261145 [details]
Screenshot
This breaks the height of the button under Ubuntu 15.10. Please fix or revert.
. New Gerrit change created: https://git.eclipse.org/r/71131 (In reply to Lars Vogel from comment #6) > Created attachment 261145 [details] > Screenshot > > This breaks the height of the button under Ubuntu 15.10. Please fix or > revert. Isn't this actually an SWT bug and should also be reported there? However, to work around the issue in the meanwhile, I've uploaded this change: https://git.eclipse.org/r/71131 The changed code uses DialogPage::setButtonLayoutData() to make the buttons look good. It works on Windows but lacking a Linux install, I can't tell for Ubuntu. (In reply to Rüdiger Herrmann from comment #9) > Isn't this actually an SWT bug and should also be reported there? Please create a bug with a small snippet for the SWT team. > I can't tell for Ubuntu. Looks good on Ubuntu Thanks for the fast reaction Rüdiger (In reply to Lars Vogel from comment #10) > (In reply to Rüdiger Herrmann from comment #9) > > Isn't this actually an SWT bug and should also be reported there? > > Please create a bug with a small snippet for the SWT team. It turns out that LayoutConstants::getMinButtonSize() always returns a height of zero. See bug 492181. > > > I can't tell for Ubuntu. > > Looks good on Ubuntu > Thanks for the fast reaction Rüdiger Thanks for verifying. Gerrit change https://git.eclipse.org/r/71131 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=5ad5a234eb34a4e739af9e7073386c0145e44852 |