swingx
  1. swingx
  2. SWINGX-1395

CollapsiblePane: wrapper view visibility state not set

    Details

      Description

      When setting a new contentpane the wrapper view's visility is not set to coincide with the collapsed state. The visibility is only set when the collapsed state is changing/changed.

      Inserting the following:

      wrapper.getView().setVisible(!wrapper.collapsedState);

      before invoking super.addImpl in JXCollapsiblePane.setContentPane fixes the issue.

        Activity

        Hide
        Karl Schaefer added a comment -

        SWINGX-1395: Fix as specified.

        swingx-core/src/main/java/org/jdesktop/swingx/JXCollapsiblePane.java

        Committed revision 3941.

        Show
        Karl Schaefer added a comment - SWINGX-1395 : Fix as specified. swingx-core/src/main/java/org/jdesktop/swingx/JXCollapsiblePane.java Committed revision 3941.

          People

          • Assignee:
            Karl Schaefer
            Reporter:
            mbu_dk
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: