Viewing Issue Advanced Details

ID 0003934 Category [DMDirc] *Unsorted Severity minor
Reproducibility always Date Submitted 2010-03-14 06:35 Last Update 2010-03-14 16:21
Reporter Dataforce Assigned To Greboid View Status public
Priority normal Status resolved Resolution fixed
Platform Fixed in Version Target Version 0.6.4
Product Version Product Build
Summary 0003934: "Client update downloaded" dialog needs to wrap at something sane.
Description
"Client update downloaded" dialog needs to wrap at something sane.
Needs unit test no
Upstream Bug URL

Relationships

Notes

A patchset (1) related to this change has been added to gerrit by Greboid

Fixes issue 3934

Add a max width on StandardMessage dialogs.

Change-Id: Id00d5230e2db55aaa4cde8316d67f271fc5f934d
authorGreboid <greg@dmdirc.com>2010-03-14 16:10:04 (GMT)
committer Shane Mc Cormack <shane@dmdirc.com>2010-03-14 16:20:19 (GMT)
commitf0d9d50c6b3e5ff62e6ec8aa1117187b442a7866 (patch) (side-by-side diff)
Add a max width on StandardMessage dialogs. Change-Id: Id00d5230e2db55aaa4cde8316d67f271fc5f934d Reviewed-on: http://gerrit.dmdirc.com/1027 Automatic-Compile: DMDirc Local Commits <dmdirc@googlemail.com> Reviewed-by: Shane Mc Cormack <shane@dmdirc.com>
-rw-r--r--src/com/dmdirc/addons/ui_swing/dialogs/StandardMessageDialog.java3
1 files changed, 2 insertions, 1 deletions
Click to Expand/Collapse
diff src/com/dmdirc/addons/ui_swing/dialogs/StandardMessageDialog.java
@@ -133,7 +133,8 @@ public class StandardMessageDialog extends StandardDialog {
* Lays out the components.
*/
private final void layoutComponents() {
- setLayout(new MigLayout("fill, wrap 1, hidemode 3"));
+ setLayout(new MigLayout("fill, wrap 1, hidemode 3, wmax min(80sp, 500),"
+ + " wmin min(80sp, 500)"));
add(blurb, "growx");
add(getOkButton(), "right");

Issue History

Date Modified Username Field Change
2010-03-14 06:35 Dataforce New Issue
2010-03-14 06:35 Dataforce Status new => assigned
2010-03-14 06:35 Dataforce Assigned To => Greboid
2010-03-14 16:09 Greboid Checkin
2010-03-14 16:09 Greboid Note Added: 0010362
2010-03-14 16:09 Greboid Status assigned => fix pending
2010-03-14 16:21 Greboid Checkin
2010-03-14 16:21 Greboid Note Added: 0010364
2010-03-14 16:21 Greboid Status fix pending => resolved
2010-03-14 16:21 Greboid Resolution open => fixed