Pivot
  1. Pivot
  2. PIVOT-627

Painting RadioButton with null ButtonData

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.5.1
    • Fix Version/s: 1.5.2, 2.0
    • Component/s: wtk-terra
    • Labels:
      None

      Description

      I have a RadioButton whose ButtonData is null.
      When the RadioButton is selected, an extra rectangle is shown at on the right of that.

      In the case of a Checkbox whose ButtonData is null,  the rectanble is not shown.

      Should this behavior be unified?

        Activity

        Greg Brown made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 1.5.2 [ 12315227 ]
        Fix Version/s 2.0 [ 12313780 ]
        Resolution Fixed [ 1 ]
        Hide
        Greg Brown added a comment -

        Very good catch. RadioButton was reporting a preferred size that included the focus rectangle whereas Checkbox was not. Now neither include the focus rectangle when buttonData is null, and instead paint a slightly shaded state when focused.

        Show
        Greg Brown added a comment - Very good catch. RadioButton was reporting a preferred size that included the focus rectangle whereas Checkbox was not. Now neither include the focus rectangle when buttonData is null, and instead paint a slightly shaded state when focused.
        Masaki Uno created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            Masaki Uno
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development