I have a gallery control formatted with substantial data, when I copy (G1 Below) and paste into another screen, formatting is lost. While it’s pasting you can see the format is retained; however when the task is complete the formatting is lost (G2 Below). The Width, X & Y properties convert to “1” or Null.
If you create a component and Copy & Paste the Gallery into the Component and then insert the component into a responsive container, the format is retained; however components a Not Responsive.
How can I cut and past and retain formatting...Thanks
G1
G2
Understood, thanks for the reply!
@Syvenn copy-pasting controls can cause formatting issues, especially once you add more complexity to them (e.g. responsive galleries). If you need the exact same code/controls or just overall architecture, it is better to create them as components in your application.
This will not only make your app more maintainable, but will save you a lot of formatting and control renaming troubles.
In my experience you can make components fully responsive. Properties such as Parent.Height & Parent.Width can be accessed. You are also able to use Component Input Variables (Custom Property), to adjust the width, height, Size... of your controls with data from your app screen (e.g. ScreenSize). (Output variables can be used to fetch data from the component to the app)
Should you be interested in responsive component design, there are numerous YouTube tutorials on this