Modify

Opened 16 years ago

Closed 16 years ago

#1606 closed enhancement (fixed)

[PATCH] JOSM puts prefdialog in upper left corner

Reported by: xeen Owned by: framm
Priority: trivial Milestone:
Component: unspecified Version: latest
Keywords: Cc:

Description

JOSM puts the prefs dialog always in the upper left corner, behind my taskbar (which is annoying).

I guess either solution is fine:
1) open it center screen
2) make it remember its last position (and size)

I prefer the latter though, so tweaking the color scheme doesn't you require to resize the dialog everytime.

Attachments (1)

PreferencesAction.diff (1.5 KB ) - added by Henry Loenwind 16 years ago.

Download all attachments as: .zip

Change History (3)

comment:1 by Henry Loenwind, 16 years ago

Summary: [Win] JOSM puts prefdialog behind taskbar (in upper left corner)[PATCH] JOSM puts prefdialog in upper left corner
Type: defectenhancement

Seems to be a bug in either Swing or Swing's documentation. The method we are using to show the dialog clearly states it would center it...

Ok, centering a dialog "manually" is no black magic. While I was at it I added some code to make it bigger---it will default to half of JOSM's width and three quarters of it's height, minimum 600x600, maximum 1200x1200 pixels. And in dual-monitor environments it will center over the left half of JOSM. <g>

by Henry Loenwind, 16 years ago

Attachment: PreferencesAction.diff added

comment:2 by anonymous, 16 years ago

Resolution: fixed
Status: newclosed

Fixed in r1021.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain framm.
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.