Skip to content

Resources GUI: no file names, only checkboxes in OF 11, windowsΒ #190

@dasoe

Description

@dasoe

Hi all,

as always cheers(!) for this incredible piece of software!

when building exaple_basic with OF 11.2, on Windows, I have only checkboxes in the Resources GUI, no names of files.
when building exaple_basic with OF 10.1, same machine, it looks as expected. (checkboxes and names of files).

It seems, there's some bug or breaking change in OF 11 ofxGui? I don't know if there's other parts of the code, that might need adjustment, too, nore if there's a better solution, but as a quick fix, I used the following change to solve the issue for me:

// ofxPiMapper/src/UserInterface/Radiolist.cpp, Line 45:

void RadioList::setup(std::string title, std::vector<std::string> & labels, std::vector<std::string> & values){

	// Store title for later use
	storedTitle = title;
	guiGroup.setName(title);
+	guiGroup.setWidthElements(220.0f);
	setup(labels, values);
}

I used a hardcoded width value, as the position is hardcoded too, in ofxPiMapper/src/Gui/Widgets/SourcesEditorWidget.cpp

have a great day!
oe

P.S.: Sorry for not filing a pull request. my git seems broken, it does not reflect any changes I do on my local machine. I'm lost here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions