I hope that everyone is well.
I am working on my first datagrid and have a question regarding resizing...
I have a datagrid which I have set to 'Form' style to allow a bespoke look.
I have a script on the card where the datagrid is located to resize various items when the stack is resized....
I can get the overall datagrid to resize but I can only get the items in the first row of the datagrid to resize, the other rows remain un-resized.
This section successfully resizes the outside of the datagrid:
Code: Select all
-- Datagrid
set the height of group "datagrid" to the height of this stack / 2.28
set the top of group "datagrid" to "155"
set the width of group "datagrid" to the width of this stack
set the left of group "datagrid" to "0"
This section is supposed to resize the items in each row of the datagrid but only resizes the items In the first row:
Code: Select all
-- graphic line_datagrid_divider
set the width of graphic "line_datagrid_divider" of me to the width of this stack
set the left of graphic "line_datagrid_divider" of me to "0"
I have also attached a couple of screenshots.
Many Thanks