Fixed small screen issues

This commit is contained in:
dviid 2013-03-15 15:09:05 +01:00
parent 582ac0859b
commit d938b31e91
2 changed files with 5 additions and 1 deletions

View File

@ -37,7 +37,7 @@ import processing.serial.*;
void setup() { void setup() {
int b = 15; int b = 15;
int h = (displayHeight / 4) - (3*b); int h = 300;//(displayHeight / 4) - (3*b);
int w = displayWidth / 2; int w = displayWidth / 2;
plotA = new ScopePlot("Force", w, h, b, b + b, 512, true); plotA = new ScopePlot("Force", w, h, b, b + b, 512, true);
@ -69,6 +69,8 @@ void setup() {
d_slider.addListener(scb); d_slider.addListener(scb);
size(w + 60, displayHeight - (h + (3*b))); size(w + 60, displayHeight - (h + (3*b)));
//size(w + 60, 800);
//size(600, 800);
} }
void draw() { void draw() {

View File

@ -0,0 +1,2 @@
mode.id=processing.mode.java.JavaMode
mode=Java