swingx
  1. swingx
  2. SWINGX-936

JXRootPane: statusbar doesn' show up defaultlafDecoration

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.0
    • Fix Version/s: 0.9.5
    • Component/s: Window
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      936

      Description

      see:

      http://forums.java.net/jive/thread.jspa?threadID=47458&tstart=0

      the basic problem: it has a extended rootLayout which takes a statusbar into
      account. In LFs supporting default decoration mode the title is added to the
      rootpane and the rootpane's layoutManager replaced by one aware of that title.
      That ui-layout doesn't know about the statusbar, consequently not reserving
      space. Quite rude of them

      Jeanette

        Activity

        Hide
        kleopatra added a comment -


        taken

        Show
        kleopatra added a comment - taken
        Hide
        kleopatra added a comment -

        started

        • changed the xRootPaneLayout to delegate (to super or ui-installed) before
          adjusting for statusbar
        • changed setLayout to set new layout as delegate of xRootPaneLayout
        • added test (for layout sizing)

        tests are running fine, but not entirely sure about side-effects, could well
        have overlooked something

        Jeanette

        Show
        kleopatra added a comment - started changed the xRootPaneLayout to delegate (to super or ui-installed) before adjusting for statusbar changed setLayout to set new layout as delegate of xRootPaneLayout added test (for layout sizing) tests are running fine, but not entirely sure about side-effects, could well have overlooked something Jeanette
        Hide
        kleopatra added a comment -
        • fixed setting of layout to null the delegate again if reseting the "old" layout
          (that's what laf's do on uninstalling the decoration)
        • added tests
        Show
        kleopatra added a comment - fixed setting of layout to null the delegate again if reseting the "old" layout (that's what laf's do on uninstalling the decoration) added tests

          People

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

            Dates

            • Created:
              Updated:
              Resolved: