Opened 13 years ago

Last modified 5 years ago

#8180 closed enhancement

More preset enhancement ideas — at Version 9

Reported by: anonymous Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: preset group column radio unit Cc: stoecker

Description (last modified by simon04)

  1. Allow length of input box for text: <text key="somekey" text="Something" lenght="5"/> : done in r5579
  2. Label units at end of text input box: <text key="somekey" text="Long" unit="m"/>
  3. Make groups of input boxes <group><text xxx/></group> and allow for several columns within a group (<group columns="3">) done in #8735
  4. Maybe allow in absurdly huge presets to minimize groups : treated with #9190
  5. Radio buttons for checks that have two or more true values, or even where different choice might alter the key:
    <radio text="Name"><button key="somekey" value="somevalue" text="A choice"/><button key="somekey" value="someothervalue" text="Another choice"/><button key="someotherkey" value="somevalue" text="A third choice"/></radio>
    : no, see #4901

Change History (10)

by Don-vip, 13 years ago

Attachment: 8180v1.patch added

comment:1 by Don-vip, 13 years ago

Patch for first point (length of input box for text)

comment:2 by Don-vip, 13 years ago

In 5579/josm:

see #8180 - Presets: Allow length of input box for text

comment:3 by simon04, 13 years ago

Description: modified (diff)

comment:4 by skyper, 12 years ago

Component: External presetCore
Keywords: preset group column radio unit added

comment:5 by Don-vip, 12 years ago

Description: modified (diff)

comment:6 by Don-vip, 11 years ago

Description: modified (diff)

comment:7 by Aun Johnsen <lists@…>, 11 years ago

I like the idea that a radio button might switch on or off or even preset several keys, maybe something similar to the way group uses <list_entry/>. Something like this?

<radio text="My group">
   <button text="Choice 1" default="true">
       <set key="bolean" value="true"/>
       <set key="number" value="3"/>
       <unset key="text"/>
   </button>
   <button text="Choice 2">
       <set key="text" value="static text"/>
       <unset key="bolean"/>
       <set key="number" value="4"/>
   </button>
</radio>

The unset will delete that tag as an empty choice.

comment:8 by Don-vip, 11 years ago

Cc: stoecker added
Description: modified (diff)

We won't implement radio buttons.

comment:9 by simon04, 5 years ago

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