Pivot
  1. Pivot
  2. PIVOT-812

Add style to TabPane to specify the tab button corner radius

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.0, 2.0.1
    • Fix Version/s: 2.0.1
    • Component/s: wtk-terra
    • Labels:
    • Environment:
      Windows XP SP3, JDK 1.6.0_16

      Description

      The corner radius for the Tab Pane buttons is fixed right now at 4. It would be helpful to be able to specify the value with a TabPane style setting: "cornerRadius".

      1. tab1.patch
        4 kB
        Roger Whitcomb
      2. tab2.patch
        4 kB
        Roger Whitcomb

        Activity

        Roger Whitcomb created issue -
        Hide
        Roger Whitcomb added a comment -

        The "tab1.patch" implements this feature change. I have tested it in our application and it seems to work fine.

        Show
        Roger Whitcomb added a comment - The "tab1.patch" implements this feature change. I have tested it in our application and it seems to work fine.
        Roger Whitcomb made changes -
        Field Original Value New Value
        Attachment tab1.patch [ 12500931 ]
        Hide
        Roger Whitcomb added a comment -

        The "tab2.patch" renames the style to "buttonCornerRadius" to distinguish it from the next possible enhancement I want to make, which is to be able to round the bottom / right corners so the TabPane can look like a Border if desired. This next new style would then more logically be named "cornerRadii" (to match Border).

        Show
        Roger Whitcomb added a comment - The "tab2.patch" renames the style to "buttonCornerRadius" to distinguish it from the next possible enhancement I want to make, which is to be able to round the bottom / right corners so the TabPane can look like a Border if desired. This next new style would then more logically be named "cornerRadii" (to match Border).
        Roger Whitcomb made changes -
        Attachment tab2.patch [ 12500935 ]
        Hide
        Roger Whitcomb added a comment -

        Committed revision 1190487 with the contents of "tab2.patch" (new style named "buttonCornerRadius").

        Show
        Roger Whitcomb added a comment - Committed revision 1190487 with the contents of "tab2.patch" (new style named "buttonCornerRadius").
        Roger Whitcomb made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Roger Whitcomb
            Reporter:
            Roger Whitcomb
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Due:
              Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 0.5h
              0.5h
              Remaining:
              Remaining Estimate - 0.5h
              0.5h
              Logged:
              Time Spent - Not Specified
              Not Specified

                Development