We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e11daf commit 756c0f9Copy full SHA for 756c0f9
ColorShaders/Gui.pde
@@ -6,9 +6,8 @@ void setupGui() {
6
7
DropdownList guiShaders = cp5.addDropdownList("selectShader");
8
guiShaders.setPosition(480, 25).setSize(240, height-10).setItemHeight(25).setBarHeight(25);
9
- guiShaders.captionLabel().set("shaders");
10
- guiShaders.captionLabel().style().marginTop = 1;
11
- guiShaders.captionLabel().style().marginLeft = 1;
+ guiShaders.setCaptionLabel("shaders");
+
12
for (int i=0; i<shaders.size(); i++) {
13
guiShaders.addItem(shaders.get(i).path, i);
14
}
0 commit comments