Updated to Juce 5.0.1-3 but quickly ran into this:
error: ‘void juce::Component::setBounds(const juce::String&)’ is deprecated
What is the recommended replacement? It should probably be noted in juce_Component.h. A grep of my code shows I’m using it in 720 places across 180 files. This is a significant amount of work. I hope the replacement is something simple I can swap in, because re-doing all 720 of these calls to setBounds() on dozens of windows is going to take forever!
Any particular reason why the relative rectangle setBounds() will no longer be supported? It seems to work well, and is easy to manage object sizes and positions in relation to each other when creating windows with lots of controls. In case I’ve misunderstood the deprecation message, this is how I use setBounds():
saveButton .setBounds( "parent.width - 70, 6 , left + 32, top + 32" ); printButton .setBounds( "pbsave.right + 2 , pbsave.top , left + 32, top + 32" ); lockButton .setBounds( "pbsave.left , pbsave.bottom + 2 , left + 32, top + 32" ); closeButton .setBounds( "pblock.right + 2 , pblock.top , left + 32, top + 32" );