2019-01-16 06:57 PM
Hi all, it seems that simply copying related files to path doesn't work and the reason is likely to be that the widget hasn't been registered in the new project yet. Wondering how to do the grafting work correctly.
Solved! Go to Solution.
2019-01-24 05:53 AM
Hi @Chi ,
Currently there's no way to directly copy just a Custom container from the designer to another project. You have to import an entire gui from another .touchgfx file. I think it's something we'd like to make easier.
Your only option is to create it again, or to simply copy the generated code to your new project and rename the class (From MyCustomContainerBase to something else) and use that as code in your concrete views. If it's not too complex, i'd remake it. Or you can snip the code from the .touchgfx file if you can identify it. But i will bring this topic up again!
Thanks,
Best regard,
Martin
2019-01-24 05:53 AM
Hi @Chi ,
Currently there's no way to directly copy just a Custom container from the designer to another project. You have to import an entire gui from another .touchgfx file. I think it's something we'd like to make easier.
Your only option is to create it again, or to simply copy the generated code to your new project and rename the class (From MyCustomContainerBase to something else) and use that as code in your concrete views. If it's not too complex, i'd remake it. Or you can snip the code from the .touchgfx file if you can identify it. But i will bring this topic up again!
Thanks,
Best regard,
Martin
2024-03-14 07:56 AM
Has there been any updates on this matter?