ICEfaces
  1. ICEfaces
  2. ICE-2821

panelDivider shouldn't specify widths for both embedded facets

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.7Beta1
    • Fix Version/s: 1.7RC1, 1.7
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      All

      Description

      The panelDivider currently specifies the width for both embedded facets whenever the divider position is specified programatically or via user interaction. This causes problems when one of the embedded facets is set to 'width: 100%' to expand to fill the available space. Moving the divider essentially "locks down" the embedded panels/comps. so they will now have a fixed width and will not adjust to changes in the width of their container (user resizes window, etc.).

      A solution might be as simple as having the panelDivider only ever set the width on the left/top panel and the divider itself, and let the right/bottom panel always use up whatever remaining space exists, thus providing the flexiblity in the component to expand/collapse based on changes to the browser viewport width.

      This should be documented behavior in the TLD.

        Issue Links

          Activity

          Hide
          Adnan Durrani added a comment -

          revision 15953.

          The component is changing the widths in percent rather then switching into fixed pixel widths.

          Show
          Adnan Durrani added a comment - revision 15953. The component is changing the widths in percent rather then switching into fixed pixel widths.

            People

            • Assignee:
              yip.ng
              Reporter:
              Ken Fyten
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: