1 Reply Latest reply on Jul 10, 2007 1:54 PM by Newsgroup_User

    Initial HDividedBox View

    Level 7
      I have an HDivideBox with two canvases. The left contains a datagrid
      and the right contains a small panel. Currently the initial view of
      this horizontal divided box is set to the width of the datagrid in the
      left canvas giving the panel in the right much more space then it requires.

      I would like to reverse this if possible so that the divider is set to
      the right as far as possible based on the width of the panal giving as
      much room as possible to the data grid side.

      TIA
      Ian
        • 1. Re: Initial HDividedBox View
          Level 7
          Ian Skinner wrote:
          > I have an HDivideBox with two canvases. The left contains a datagrid
          > and the right contains a small panel. Currently the initial view of
          > this horizontal divided box is set to the width of the datagrid in the
          > left canvas giving the panel in the right much more space then it requires.
          >
          > I would like to reverse this if possible so that the divider is set to
          > the right as far as possible based on the width of the panal giving as
          > much room as possible to the data grid side.
          >
          > TIA
          > Ian

          Did you set the width property of either component? If you set the width of
          the Panel to, say, 150 pixels, and the width of the DataGrid to 100%, then the
          DataGrid should expand to take up the rest of space.