Hoppa till huvudinnehållet

Panel with multiple buttons not displaying correctly?

Kommentarer

7 kommentarer

  • Phil MacIntyre

    Hi Alex,

    You want to nest your buttons inside of a 'Rows' or 'Columns' component if you want multiple to show up. Panels only expect to hold a single item inside by default, so they'll just grab the first button from your layout and use that. Drop them all into a 'Rows' and they should come through. For the title, if the panel isn't showing its title, we can look into that as a bug, but you can probably work around it by renaming the 'Rows' component to what you'd like.

    Another thing to note is that if you have a lot of content in a panel (e.g., a huge block of text), they may not be scrollable by default, so in that case you'll want to nest the contents inside of a 'Scroll' component.

    I hope that helps, but please let me know if you have any other questions,

    Phil MacIntyre

    0
  • Jeff Siemens

    Hi Alex,

    It is rendering correctly. Panels perform hierarchical navigation on their child components. In other words, the other components will not be displayed until you activate them, in which case they will animate into position. You will see this sort of behavior with results list / feature details for example.

    If you want to display the buttons all at once, then you should add them to a split (Columns) or a stack (Rows).

    Jeff

    0
  • Alex St. John

    Thanks guys, I got it working and looking pretty nice.

    1
  • Alex St. John

    Once I click one of those, I have a workflow that create graphics (red dots) and populates an Item Picker list.

    I can clear the red dot using Clear Graphics, but what is the name of the little magenta circle and how can I clear them from the map? I have tried to use the highlights.clear or results.clear commands to get rid of them, but they persist.

     

    0
  • Phil MacIntyre

    Hi again Alex,

    The little magenta circle should be the default highlights (the focus highlights, for selected items, show in cyan by default). These get applied to item picker contents when they include geometries. If you select one of the items from the list, you should see the highlight change from magenta to cyan.

    Is your Workflow dynamically changing the contents of that item picker? If so, we've recently had an issue reported about those highlights not updating as those contents update. We'll be looking to address this in an upcoming release.

    I just did a little testing on my side and neither the highlights.clear nor the highlights.clear-focus (or remove-focus) get applied to the item picker highlighting/focus. They only get applied to the highlights/focus that get applied via our out of the box identify/search tools, not those applied by Workflow activities. I can file a bug/improvement story to investigate this if you'd like.

    Cheers,

    Phil

    0
  • Alex St. John

    No, the workflow is not dynamically changing the item picker.

    That would be great to get that investigated, to be able to programmatically clear those highlights!

    If the user clicks OK at the bottom of the item picker, the highlights do clear out.

    But I added the "Clear Graphics" button to the taskbar as a last resort for the user, if they are stuck with highlights and are not sure which component or workflow is doing the highlighting. That is where I use the Run Command activity, but am not able to remove those magenta highlights.

    Thank you.

    0
  • Phil MacIntyre

    No problem, Alex. I'll get something filed and we'll look into it. It makes sense that they disappear once the form concludes since we're tidying up after the Workflow, but I agree it would be handy to be able to better control that.

    Have a nice weekend!

    Phil

    0

Du måste logga in om du vill lämna en kommentar.