Feature-request: Defines column width in showTable()-method
https://discourse.processing.org/t/among-the-uibooster-library-examples-it-is-related-to-table-is-it-possible-to-change/38553
https://global.discourse-cdn.com/standard10/uploads/processingfoundation1/original/3X/8/4/841b24eb0fb4c49c13eb0f0d6bddde4153ba01fa.jpeg [IMAGE LINK] Please refer to the image. source code
import uibooster.*;
UiBooster booster;
void setup() {
size(800, 400);
booster = new UiBooster();
// user showTableImmutable() for immutable tables
String[][] modifiedData = booster.showTable(
new String[][]{ // data in 2d array
{"Jimmy Johnson", "35", "Zombieland"},
{"Danny Durango", "23", "Hangover"},
{"Larry Berry", "54", ""}
},
new String[] {"Name", "Age", "Favorite movie" }, // header
"Favorite movies");
println(modifiedData);
// window title
}
void draw() {
background(10);
}
Can’t you adjust the size of ‘W1’, ‘W2’, and ‘W3’ before the ‘table’ window opens?
hi @SeongJongKwak
thank you for your issue. But at the moment UiBooster doesn't support to change the width of the columns on creating a table window. I will change your ticket to a feature request. For the next releases I will see what can be done.
@Milchreis Sorry for the late reply.
Dear Milchreis,
Thank you for your sincere reply. I am using your library. Thank you very much. I hope it gets better soon. And I hope you are always full of happy things. thank you.