CP5 library not translating correctly on App Export

edited July 29 in Library Questions

Hi again, :)

Thanks for all the help getting this far with my project. I am attempting to export my sketch out to a stand-alone application so that I can send it to someone to demo who has no knowledge of processing or programming.

The problem is that the cp5 buttons I am using to modify sketch variables are not translating correctly. Any idea why this is and how to fix it?

Sample of how I create the button:

cp5.addButton("topChamferTaller")
    .setImages(loadImage("../img/upArrowBtnBase.png"), loadImage("../img/upArrowBtnRoll.png"), 
    loadImage("../img/upArrowBtnDown.png"))
    .setPosition(topChamferInputPos[0], topChamferInputPos[1])
    .updateSize() 
  ;

This is how they look when I run the sketch in processing: [LINK]

this is how they look on the app export: [LINK]

The main issue seems to be with the labels, which I have managed to keep hidden in the sketch, but they are all showing up on the app export. These two examples are using processing v3.3.3 and mac OS 10.12.5

Does anyone know if sojamo is keeping up with the cp5 library? Is it still the best GUI library to be using?

Thanks

m

Answers

Sign In or Register to comment.