MarcusWolschon / osmeditor4android

Vespucci is a OpenStreetMap editor for Android

Home Page:http://vespucci.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support of <space /> and <item_separator /> in preset item code would be nice

jajajaneeneenee opened this issue · comments

Problem description /

Many items are becoming increasingly extensive and have a long list of elements (tags/keys) and it quickly becomes quite confusing in the editor (“Properties” tab), e.g. when scrolling up/down or to find a specific element/key.

Therefore, it would be great if the <space /> and <item_separator /> elements were supported (in preset code of items) to have at least a little more influence on the appearance/GUI in the editor (at least in the “Properties” tab).

At the moment (Vespucci v19.2.3), you only have the option of using <label text="XYZ" /> to display (italic) text between 2 elements in an item. Which, if you want, you can use to create optical separators, maybe with Unicode characters, e.g. <label text="■■■ OPTIONAL KEYS: ■■■" />, or <label text=" " /> to create a blank line (I used a non-breaking space for the text; Unicode U+00A0), but that's not a very clean solution (and the vertical space could be less, it's quite high – half of it could be enough).

Expected / proposed behaviour

<space /> creates a blank line in JOSM (i.e. vertical spacing), Vespucci could do the same – create a not too high vertical space. (A <space /> at the very beginning of an item could perhaps be ignored in Vespucci).

<item_separator /> creates a thin (perhaps a little too thin) gray separating line in JOSM (and some vertical spacing?), in Vespucci a much ticker line could be drawn instead of the normal thin horizontal separating line between 2 elements, possibly with some space above and below (which wouldn't be absolutely necessary). If this is not possible, perhaps some other type of visual separation is possible, e.g. a gray area across the entire screen width with a low height or something else.

This would provide the opportunity to create visual blocks in the “Properties” tab of the editor, which could help to increase the clarity/structure in the editor if there is a long list of elements/keys (similar – or perhaps even better – than in JOSM).

I hope this can be implemented at all and best with little effort.

Note

For more information about <space /> and <item_separator /> see the JOSM Wiki page here ("Preset window layout").