Member Junction
    Preparing search index...
    • The layout with the panel resized. widthPct sets the panel's share of the nearest row that it shares with other items, and heightPct its share of the nearest such column; give either or both. The share is kept between 5% and 95%, and low enough that every other item in the container keeps at least 5%. The other items share the rest in proportion to their current shares. Sizes are integer percentages that add up to 100.

      Parameters

      • layout: ResolvedLayoutConfig | null
      • panelId: string
      • size: { heightPct?: number; widthPct?: number }

      Returns ResolvedLayoutConfig

      LayoutEditError when the panel is not in the layout, no size or a non-finite size is given, or the panel shares no row (for a width) or column (for a height) with other items.