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)
Change History (3)
comment:1 by , 16 years ago
Summary: | [Win] JOSM puts prefdialog behind taskbar (in upper left corner) → [PATCH] JOSM puts prefdialog in upper left corner |
---|---|
Type: | defect → enhancement |
by , 16 years ago
Attachment: | PreferencesAction.diff added |
---|
Note:
See TracTickets
for help on using tickets.
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>