-
Notifications
You must be signed in to change notification settings - Fork 197
example-CustomPlacement label missing ? #222
Comments
Make sure the Canvas is big enough to contain the text you want to draw. Otherwise, if the text is too long it just won't draw. |
Hi Jordi ! Well indeed i also found out that elements that lie out of the canvas are not drawn ... but in the case of the ofxUI example ... why "CUSTOM WIDGET LAYOUT" label doesn't appear on screen ? It's ouf of the canvas ? It was added though a addWidgetDown ... I can't see it because it's out of bounds ? Thanks ! |
Yes.. its the same issue. But you are right, in this case is not so obvious. In that case the problem is that the font is too tall for the default canvas. You can try to set the font to small:
or to set the canvas with some height
then you will see the text. Is that correct for you too? |
hi Jordi ! Yes ... you're right .. here it is ... changing just size shows me the "label" ;) I'll dive better in some of my other problems related with "widgets" not appearing and try to make a simple example of them ... thanks ! |
Hi ...
I'm facing problems when adding widgets with addWidget() and addWidgetEastOf() ...
I chequed the example-CustomPlacement and I realized that this widget doesn't appear on screen ? or i don't see it ?
Is this an issue with this example or something i don't understand ? Shouldn't I be able to see the "CUSTOM WIDGET LAYOUT" label ?
More generally, when i do :
gui = new ofxUICanvas(0,0,400,ofGetHeight()-80);
gui->addLabel("RENDERER");
gui->addWidgetWestOf(new ofxUILabelButton("LOAD WEST",true),"RENDERER");
gui->addSpacer();
I can't see the "LOAD WEST" label anywhere ... just the RENDERER one ?
Am i missing something ?
Thnks for such a great OF UI ...
e*
The text was updated successfully, but these errors were encountered: