Added huge button group example.

This commit is contained in:
Sebastian Kupke 2019-08-01 09:44:03 +02:00
parent afa1c71a0a
commit a6f0341fe4

View File

@ -269,7 +269,7 @@ const buttonGroup15 = new ButtonGroup({
})
const buttons16 = []
for (let i = 1; i < 51; i++) {
for (let i = 1; i < 101; i++) {
buttons16.push({label: `Button ${i}`, stroke: Math.floor(Math.random() * 16777215), strokeWidth: 3, radius: 16})
}
const buttonGroup16 = new ButtonGroup({
@ -277,7 +277,7 @@ const buttonGroup16 = new ButtonGroup({
y: 1040,
buttons: buttons16,
stackPadding: 3,
maxWidth: 700,
maxWidth: 900,
app
})