Modify

Opened 4 years ago

Closed 4 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 Component: Core
Version: latest Keywords:
Cc: osm-talk@…

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 4 years ago.
after.png (11.1 KB) - added by Michi 4 years ago.
patch.patch (667 bytes) - added by Michi 4 years ago.

Download all attachments as: .zip

Change History (5)

Changed 4 years ago by Michi

Changed 4 years ago by Michi

Changed 4 years ago by Michi

comment:1 Changed 4 years ago by Michi

  • Cc osm-talk@… added

comment:2 Changed 4 years ago by stoecker

  • Resolution set to fixed
  • Status changed from new to closed

In r1864.

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

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed .
as The resolution will be set. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.