Modify

Opened 3 years ago

Last modified 2 years ago

#21207 new enhancement

Tagging presets: Align text behind icons and center icons

Reported by: skyper Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: template_report tagging preset align center icon Cc:

Description (last modified by skyper)

What steps will reproduce the problem?

  1. Have a preset with icons in front of keys or within <list_entry />

What is the expected result?

Icons are centered and the text behind the icons is aligned plus empty space is added for missing items

What happens instead?

Except of preset menu, no empty space for missing icons and the text is not aligned screenshot with unaligned entries
Even in preset menu the icons are not centered screenshot of menu without centered icons

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

So the syntax for menu has to be used for all places where icons plus text is listed below each other and additionally all icons should be centered.

Similar problem exists in preferences: #21208

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2021-08-06 01:22:18 +0200 (Fri, 06 Aug 2021)
Revision:18126
Build-Date:2021-08-06 01:31:59
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (18126 en) Linux Debian GNU/Linux 10 (buster)
Memory Usage: 160 MB / 256 MB (19 MB allocated, but free)
Java version: 11.0.12+7-post-Debian-2deb10u1, Debian, OpenJDK 64-Bit Server VM
Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel
Desktop environment: GNOME

Plugins:
+ flatlaf (35799)
+ tagging-preset-tester (35640)

Tagging presets:
+ ${HOME}/JOSM/new/resources/data/defaultpresets_18096_20102.xml

Attachments (2)

josm_preset_menu_icon_aligned_but_not_centered.jpg (10.2 KB ) - added by skyper 3 years ago.
screenshot of menu without centered icons
josm_preset_unaligned_values_with icons.jpg (35.5 KB ) - added by skyper 3 years ago.
screenshot with unaligned entries

Download all attachments as: .zip

Change History (5)

by skyper, 3 years ago

screenshot of menu without centered icons

by skyper, 3 years ago

screenshot with unaligned entries

comment:1 by skyper, 3 years ago

Description: modified (diff)

comment:2 by skyper, 3 years ago

Description: modified (diff)

comment:3 by skyper, 2 years ago

Please, be aware of #20008.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from team to the specified user.
Next status will be 'needinfo'. The owner will be changed from team to skyper.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from team to anonymous. Next status will be 'assigned'.

Add Comment


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