Announcement

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

    ComboxBoxItem with setShowPickerIcon(false) misses right border

    Hi Isomorphic,

    if you disable a pickericon for ComboxBoxItem / SelectItem, I'd expect the item to look just like a TextItem.
    This is not the case, for me, the right border is missing, see this screenshot (5.1p). Click image for larger version

Name:	RightBorder.png
Views:	50
Size:	1.8 KB
ID:	234012


    Could you have look?

    Thank you & Best regards
    Blama

    #2
    The right border is part of the icon in most skins, so if you want to show no icon at all, you would need to add the right border to the textBoxStyle.

    Comment


      #3
      Hi Isomorpic,

      I think I could solve this the easiest if I set the base css style name from this ComboBoxItem-instance with the setShowPickerIcon(false) from selectItemText, selectItemTextFocused, ... to textItem, textItemFocused, ....
      Unfortunately I can't seem to find a setter for this property in FormItem / ComboBoxItem. Where is the correct place to change this? Is it missing?

      My expectation is that I should have a TextItem-styled ComboBoxItem with this 1-line change. Is this correct?

      I'm using latest 5.1.

      Best regards
      Blama

      Comment


        #4
        setTextBoxStyle() should work for you.
        Let us know if you continue to have problems with this

        Regards
        Isomorphic Software

        Comment


          #5
          Hi Isomorphic,

          that did it, thank you.

          Best regards
          Blama

          Comment

          Working...
          X