Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    SelectItem full-screen mobile style has a cancelbutton icon in 13.1

    Please see this screenshot:

    Click image for larger version

Name:	Screenshot 2025-01-24 at 14.28.24.png
Views:	19
Size:	3.2 KB
ID:	274669

    In 13.1 This is when you have a SelectItem in a form and press it to get a full-screen selector.

    It didn't use to be there, in production there's no icon. Is it possible to get rid of it again? I didn't find any reference to cancel.png in load_skin nor skin_styles.

    #2
    hi mathias - we'll look at adding a more direct API but, for the moment, you can add this to your SelectItems:

    Code:
        // hide the icon from the Done button in a full-screen SelectItem / ComboBoxItem picker
        pickerExitButtonProperties: { icon: null }
    Last edited by Isomorphic; 24 Jan 2025, 06:43.

    Comment


      #3
      On your point about not seeing cancel.png - take a look at the docs for the new StockIcon system in 13.1 - in this case, the src for the icon is just set to "Cancel", which is the name of a StockIcon that renders cancel.png by default.

      Comment


        #4
        OK, so i added this to load_skin and i got rid of the icon. However, i now noticed that there are other styling differences compared to 13.0, see screenshot.

        Click image for larger version

Name:	Screenshot 2025-01-24 at 16.33.52.png
Views:	16
Size:	16.2 KB
ID:	274676
        the button now appearc to have hover and press styling, which it doesn't in 13.0?

        I would like it to look like it did before i upgraded. Man, there are more (breaking) changes in 13.1 than i would have expected from a ..point release.

        Comment

        Working...
        X