Skip to content

Summary panel: make the production matrix fill a wider window #4

Description

@ApocDev

The in-game summary panel currently sizes to its content: the matrix grids are sized to the widest recipe, the title is trimmed so the title bar does not force extra width, and the panel hugs whatever is widest. That removed the dead space, but the content does not actively fill a wider window.

horizontally_stretchable was tried on the content frame, scroll-pane, body, and table, but a scroll-pane keeps its child at natural size (and it introduced a horizontal scrollbar), so that approach was reverted.

The goal is a real flex layout where the matrix spreads across the available width: drop the scroll-pane, or rebuild each matrix row as a horizontal flow with stretchable spacers between the Products, Factory, and Ingredients groups, or right-align and stretch the Ingredients column. Columns should visibly use the width on wide windows instead of clustering left.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: factorio-modIn-game UI, Lua control scripts, settings, packagingarea: uiFactorio in-game UI and controls

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions