max_on_row and resize_to_row_height...

Place to get help with not working mods / modding interface.
User avatar
binbinhfr
Smart Inserter
Smart Inserter
Posts: 1525
Joined: Sat Feb 27, 2016 7:37 pm
Contact:

max_on_row and resize_to_row_height...

Post by binbinhfr »

Hi,

on gui element frame, flow an table, you can have booleans resize_row_to_width and resize_to_row_height and number max_on_row.
resize_row_to_width behaviour seems clear to me : it fits the width of the frame to the largest object in it.
But the 2 others variables behaviour are not obvious.
resize_to_row_height has strange results : checkbox are centered verticaly but not their label, and other things became very unprecise.
and max_on_row remains a mystery.

any idea ?
My mods on the Factorio Mod Portal :geek:
User avatar
binbinhfr
Smart Inserter
Smart Inserter
Posts: 1525
Joined: Sat Feb 27, 2016 7:37 pm
Contact:

Re: max_on_row and resize_to_row_height...

Post by binbinhfr »

no idea ?
My mods on the Factorio Mod Portal :geek:
User avatar
binbinhfr
Smart Inserter
Smart Inserter
Posts: 1525
Joined: Sat Feb 27, 2016 7:37 pm
Contact:

Re: max_on_row and resize_to_row_height...

Post by binbinhfr »

I especially wonder how in a horizontal flow, I can manage to render all GUIelements vertically centered and not sticked to the top...
My mods on the Factorio Mod Portal :geek:
Post Reply

Return to “Modding help”