Modify

Opened 16 years ago

Closed 16 years ago

#3114 closed defect (fixed)

[PATCH] Max width calculation in JMultilineLabel doen't work on long messages

Reported by: Michi Owned by: team
Priority: minor Milestone:
Component: Core Version: latest
Keywords: Cc: Michi

Description

On long messages (e.g. the disable plugins message in checkException in PluginHandler.java) the width of the message window is too large. The message could be displayed in a far more smaller window. It seems to me that the calculation of the width of the message is somewhat wrong. I made a patch, and the width is now correct, but I'm not sure if this hasn't any side effects. Maybe you JOSM experts can have a look at it. ;-)

See the patch and the screenshots I attached.

Attachments (3)

before.png (14.1 KB ) - added by Michi 16 years ago.
after.png (11.1 KB ) - added by Michi 16 years ago.
patch.patch (667 bytes ) - added by Michi 16 years ago.

Download all attachments as: .zip

Change History (5)

by Michi, 16 years ago

Attachment: before.png added

by Michi, 16 years ago

Attachment: after.png added

by Michi, 16 years ago

Attachment: patch.patch added

comment:1 by Michi, 16 years ago

Cc: Michi added

comment:2 by stoecker, 16 years ago

Resolution: fixed
Status: newclosed

In r1864.

I ask myself if this was the only reason for the long dialogs or if there are still other sources.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.