Announcement

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

    ComboBoxPicker-icon "Over"-settings in ComboBoxItem and SelectItem

    Hi Isomorphic,

    please see this screenshot (from this sample). Click image for larger version

Name:	ComboBoxPicker-settings.png
Views:	106
Size:	56.4 KB
ID:	234921


    As you can see, the ComboBoxItem uses a "_Over" in the requested file name.
    I checked my 5.1 Simplicity load_skin.js and only found showFocusedPickerIcon:false.
    I tried showOverPickerIcon:false in order to get rid of the media change, but this is apparently not the correct property name. Could you tell me which is?

    I also checked Enterprise and Graphite for it, but couldn't find something to copy there.

    Besides my question for disabling: In Enterprise and Simplicity the SelectItem- and ComboBoxItem-pickerIcon reacts differently on "Over". Is this correct and on purpose (the load_skin.js file does not suggest any differences here)?

    This is not urgent for me, as I can solve it with copied media for now.

    Best regards
    Blama

    #2
    To disable this for ComboBoxItem: You can use pickerIconProperties to set "showOver" to explicitly false for the picker icon.

    In terms of the difference between SelectItem and ComboBoxItem with regards to whether or not to show over-state when the user rolls over the icon: The default behavior is deliberate. SelectItems react to a click anywhere on the item by showing the pick-list - comboBoxItems require a click over the icon itself. Therefore rolling anywhere over the SelectItem will cause that "Over" state to show, whereas for a ComboBoxItem you have to roll over the icon itself to see that state change.

    As an aside - there are some changes in the pipeline to have slightly simplified / flattened appearances for SelectItems and ComboBoxItems in the default Enterprise-series skins. As part of that work, there will be a little expansion and clarification in the docs around FormItem styling. No definite ETA for this yet but just letting you know that its coming.

    Regards
    Isomorphic Software

    Comment


      #3
      Hi Isomorphic,

      thank you for the fast answer. I could reproduce what you are saying in Enterprise. My skin is Simplicity-based though, which seems to be missing the "Over"-effect for SelectItems - regardless of being over the TextBox or the PickerIcon. Just see the linked sample in Simplicity.

      Thanks for the information on the coming features. Will this affect Simplicity as well and will a skin-modification double-checking be needed after the changes?

      Best regards
      Blama

      Comment


        #4
        You can set the property SelectItem.showOver to enable / disable the "Over" appearance for the SelectItem in any skin.

        The changes to ComboBoxItem / SupplyItem styling will likely not be applied to Simplicity. We will regardless ensure that there's an easy way to get back to the previous default behavior for backwards compatibility bearing in mind that developers will frequently customize skins.

        Regards

        Comment


          #5
          Hi Isomorphic,

          w.r.t. to matching behaviour of different skins and your reasoning in #2 (SelectItems react to a click anywhere on the item by showing the pick-list - comboBoxItems require a click over the icon itself. Therefore rolling anywhere over the SelectItem will cause that "Over" state to show, whereas for a ComboBoxItem you have to roll over the icon itself to see that state change): Shouldn't be this the default in Simplicity as well?

          Best regards
          Blama

          Comment

          Working...
          X