Aller au contenu principal

Taskbar options

Commentaires

6 commentaires

  • Berend Veldkamp

    You could do something like this:

     

    Where the Taskbar in the component tree would have a ‘Rows’ component which in turn contains both the Layer List and the Legend:

     

    0
  • S. Burgert

    Thank you for your suggestion.
    Since the layer list is very long, the legend would not be visible at all or only with scrolling. I need two windows next to each other that can be turned off when they are not needed.

    0
  • Berend Veldkamp

    Well, be creative 😉. There are many ways to alter the layout using row, columns, popouts etc.

     

    For example, instead of a Rows component, use Columns, and wrap the Layer List and Legend both in a panel with a Minimize button:

     

     

     

    0
  • S. Burgert

    Hi Berend,

    thanks for your ideas! A pop-out window would be exactly what I need. However, it would be nice to put the two items Layer List and Legend in two separate taskbar items. On the one hand, the label is otherwise impossible to read because it is too long, and on the other hand, in most cases only the layer list is needed, so it is annoying when both always pop out. 
    However, if I create two separate items with a pop-out window, I have the problem that the window closes again as soon as I click on the other item. Can I prevent this?

    0
  • Berend Veldkamp

    No. The idea of a taskbar is to show one item at a time, and each item has one button.

    If the legend is not needed in most cases, I'd just remove it from the taskbar altogether, and move it to a less prominent place. Maybe inside an Expand button on the map.

    0
  • S. Burgert

    Okay, thank you for your help and ideas! So I'll have to rethink my layout, as I want the layer list and legend in one place because they belong together.

    0

Vous devez vous connecter pour laisser un commentaire.