Loading...
Processing Forum
Recent Topics
All Forums
Screen name:
em11083
em11083's Profile
1
Posts
0
Responses
0
Followers
Activity Trend
Last 30 days
Last 30 days
Date Interval
From Date :
To Date :
Go
Loading Chart...
Posts
Responses
PM
Show:
All
Discussions
Questions
Expanded view
List view
Private Message
Text field vertically
[0 Replies]
16-Mar-2013 12:02 PM
Forum:
Contributed Library Questions
Hi all,
I'm trying to create text field in which the written text appears vertically.
Is possible?
The code is:
import controlP5.*;
ControlP5 cp5;
Textfield Fieldtest;
void setup() {
size(400,400);
background(0);
PFont font = createFont("arial",16);
cp5 = new ControlP5(this);
Fieldtest=cp5.addTextfield("test")
.setPosition(50,50)
.setSize(14,50)
.setFont(font)
.setFocus(false)
.setAutoClear(true)
.setColor(color(255,0,0))
;
Fieldtest.setInputFilter(ControlP5.INTEGER);
}
void draw() {
background(0);
}
«Prev
Next »
Moderate user : em11083
Forum