Opened 4 years ago

Last modified 4 years ago

#19529 new defect

Download Dialog: Tile numbers: Button offset — at Version 3

Reported by: skyper Owned by: team
Priority: trivial Milestone:
Component: Core Version:
Keywords: template_report download dialog tile numbers button Cc:

Description (last modified by skyper)

What steps will reproduce the problem?

  1. Open Download Dialog
  2. Switch to "Tile numbers" tab
  3. Look at source:trunk/resources/images/dialogs/validator.svg button right of the input box of "Tile address"

What is the expected result?

The button to be in line with the text box

What happens instead?

The button is noticeable below the input box

Please provide any additional information below. Attach a screenshot if possible.

screenshot

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2020-07-12 22:12:46 +0200 (Sun, 12 Jul 2020)
Revision:16754
Build-Date:2020-07-13 01:30:53
URL:https://josm.openstreetmap.de/svn/trunk

Change History (4)

by skyper, 4 years ago

screenshot

comment:1 by gaben, 4 years ago

The problem should be around here: https://josm.openstreetmap.de/browser/josm/trunk/src/org/openstreetmap/josm/gui/bbox/TileSelectionBBoxChooser.java#L460

For me, it looks like the input field is misaligned, not the button.

comment:2 by gaben, 4 years ago

Changing this line: https://josm.openstreetmap.de/browser/josm/trunk/src/org/openstreetmap/josm/gui/bbox/TileSelectionBBoxChooser.java#L452
to this gc.fill = GridBagConstraints.BOTH; solves the issue, but gives very inconsistent look :/

comment:3 by skyper, 4 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.