Benoit Viguier Posted August 21, 2019 Report Share Posted August 21, 2019 Hi all, First, thank you JKI for your great tool that makes the design of my UIs so much easier! I successfully added my own themes and controls to the JKI Design Palette but I noticed some controls are not supported. Arrays and clusters with no elements: data structures like arrays and clusters require to have elements to be added to the Palette. Adding arrays or clusters that don't have elements make all the controls in the JKI Design Palette disappear as shown below. In the future, I think it would be great to be able to add our own arrays and clusters that don't have a type to the Palette. Decorations: decorations can't be added to the Palette. I tried to add my own decorations to the Palette and it looks like they are not supported. It didn't make the other controls disappear like above but I think it would be a great improvement to have access to decorations (classic or our own) via the JKI Design Palette. Best, Benoit 1 Quote Link to comment Share on other sites More sharing options...
ammouri Posted August 21, 2019 Report Share Posted August 21, 2019 Yeah I was able to replicate the issues that you described. Creating and empty array/cluster caused all the controls to disappear on the palette. That is why the existing clusters in the palette contains a dummy "Delete Me" control :). You can do the same with a decoration to add it to the palette: AA 2 Quote Link to comment Share on other sites More sharing options...
Jim Kring Posted August 22, 2019 Report Share Posted August 22, 2019 Hi guys, great discussion. Yes, the way you add arrays, clusters, and decorations is using these tricks to give them valid “values”. i agree that the current behavior where the design palette fails to load *any* controls is a bit of a bug (to say the least) — we will fix that (make it more fault tolerant) in a future release. And, we’re looking at better ways to support arrays, clusters, and decorations in the future. Until then, I’m glad you’ve discovered the work-around 🙂 Quote Link to comment Share on other sites More sharing options...
Benoit Viguier Posted August 22, 2019 Author Report Share Posted August 22, 2019 Hi guys, Thank you for your answers!@ammouri that's a great idea! I actually ended up doing that for my arrays and clusters but didn't think of doing it for my decorations as well. Thank you for the tip, it works great 😉 Quote Link to comment Share on other sites More sharing options...
Jim Kring Posted August 22, 2019 Report Share Posted August 22, 2019 Hi Guys. This morning we pushed a new release of 1.0.2 with support for empty clusters and arrays. Also, when dropping an existing cluster or array with a single "Delete Me" element, it will delete it after it's placed on the Front Panel. Please let me know how it works for you guys. PS - we're going to continue to think about how best to support decorations. Quote Link to comment Share on other sites More sharing options...
Benoit Viguier Posted August 22, 2019 Author Report Share Posted August 22, 2019 Hi Jim, I just checked and it works great! Good idea to automatically delete the "Delete Me" element once the control is placed on the Front Panel. It also looks like the issue with the controls disappearing doesn't exist anymore. Thanks 1 Quote Link to comment Share on other sites More sharing options...
Jim Kring Posted August 22, 2019 Report Share Posted August 22, 2019 3 minutes ago, Benoit Viguier said: Hi Jim, I just checked and it works great! Good idea to automatically delete the "Delete Me" element once the control is placed on the Front Panel. It also looks like the issue with the controls disappearing doesn't exist anymore. Thanks Thanks for testing and letting us know. Yes, we now officially support "empty" clusters and arrays -- previously, these were throwing errors when we tried to load them, but we fixed it so that they are handled better and officially supported. Have fun. 1 Quote Link to comment Share on other sites More sharing options...
ammouri Posted August 23, 2019 Report Share Posted August 23, 2019 Nice. The empty clusters and arrays now work without issues! Here is a suggestion for the existing clusters/arrays that contain a delete me button (in case you need to keep it after the latest upgrade): why not make the text hidden and the color transparent so it won't even appear (since it is going to be deleted anyway) And for the decorations, I suggest that you put the decoration on top of an transparent empty cluster that will get deleted after being placed on the FP (in a similar approach to the above). 2 Quote 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.