Projucer GUI Editor

I have used the Projucer GUI Editor for a while and still find it useful.

Unfortunately there is a bug in Juce > 7.0.5 that prevents from resizing a component easily in the GUI Editor. Using the bottom-right resizer of a component does not work, nor entering the size directly in the left-side inspector. I am not sure if the bug started in 7.0.6 or 7.0.7.

Could you please have a look, even though the GUI Editor does not seem to be maintained ?

Thanks

1 Like

We plan on removing the GUI editor part of the Projucer in JUCE 8, and I’m afraid we will not be investing any of the team’s time addressing any issues before then.

Thanks for the fast reply.
I found the Projucer GUI Editor very useful, but I agree it may not be ideal to design resizable GUIs…
I’ll have a look at the new proposed techniques.
Cheers

I’m not particularly fond of the GUI editor, but since there are some users still using it, what do you think about releasing it in the Public Domain (or equally permissive license) once it has been removed from JUCE?
That way it can be kept alive by a community effort, if there is enough interest in it.

4 Likes

I don’t use GUI editor but it’s the most convenient tool to add png images and convert them to binary. Is there any other alternative?

You just add them as assets in an Assets folder in your Projucer project, and they are automatically converted to BinaryData.

Thanks for replying. In this case how to load images? ImageCache::LoadFromMemory needs raw data pointer and data size

When you do what I said, you will have a BinaryData.cpp and BinaryData.h file in your project.

All of that info is in the BinaryData.h file.

From my project:

namespace BinaryData
{
    extern const char*   bgAdd_png;
    const int            bgAdd_pngSize = 1100;

    extern const char*   bgArrow_png;
    const int            bgArrow_pngSize = 1012;

    extern const char*   bgConnect_png;
    const int            bgConnect_pngSize = 1107;

    extern const char*   bgConnectAdd_png;
    const int            bgConnectAdd_pngSize = 1115;

    extern const char*   bgMarquee_png;
    const int            bgMarquee_pngSize = 1114;

So, for example:

        myFolderImage = juce::DrawableImage::createFromImageData (BinaryData::folder_mac_png, BinaryData::folder_mac_pngSize);

2 Likes