szczemp Posted January 5, 2023 Share Posted January 5, 2023 This is very useful: https://affinity.help/photo/en-US.lproj/index.html?page=pages/Workspace/expressions.html?title=Expressions for field input I have suggestion to extend this. Example. I create document 500 x 500 px. Now I put rectangle to my document. I want to set this rectangle width to 100% od my document. Now I write in width input 'spreadwidth', and rectangle sets width to 500px. Now i resie my canvas to 600px width. But rectangle has 500px. Now I neet to write again 'spreadwidth' into width input. I want sometink like that use in my macros. Regardless of document size I want to run macro and put rectangle with 100% of document width. I thint about writing wariables into inputs with brackets: (spreadwidth) {spreadwidth} [spreadwidth] I think, this would be very practical. Quote Link to comment Share on other sites More sharing options...
Pšenda Posted January 5, 2023 Share Posted January 5, 2023 4 hours ago, szczemp said: Now i resie my canvas to 600px width. But rectangle has 500px. Rather than an addition for Fields Input, this looks to me like a requirement to automatically/dynamically adapt objects as parent objects change. The Constraints panel is used for this in ADesigner. https://affinity.help/designer/English.lproj/pages/DesignAids/constraints.html Quote Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.4.0.2301 Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155. Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155. Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200, Windows 10 Pro, Version 21H1, Build 19043.2130. Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.