Brickadia logo Brickadia icon
Search Blog Servers Contact
Login
Back to gallery
Preview of Text Size
Prefab preview
Prefab

Text Size

Created by Sorrelyn

Gets the maximum number of characters horizontally and vertically in a string, useful for sizing text boxes dynamically. Probably works best when expecting to use monospaced font. Inputs: 1. Input (str) Outputs: 1. X Size (int) 2. Y Size (int) For example, the following: "line 1 line 2 much longer line" would return: X = 16 Y = 3

Microchip
1 likes
23 views
View in game

Published
August 18, 2026 at UTC
Updated
August 18, 2026 at UTC
Version
1
Share code
a5q-45c-22k

User-submitted content

This page was automatically generated from content submitted by a user. It has not been authored, verified, or endorsed by Brickadia, LLC. Report inappropriate or unlawful content here.

More by Sorrelyn

Explore more prefabs from this creator.

Tachometer V2
0
4
Sorrelyn
showpos Chat Command
1
17
Sorrelyn
Tachometer
3
59
Sorrelyn
Mouse Aim Turret Driver
20
161
Sorrelyn
Wire Color Guide
44
265
Sorrelyn
Brixie Tube
25
268
Sorrelyn
BL Gravity Jeep
9
121
Sorrelyn
Tachometer
4
70
Sorrelyn
Rotary Encoder
4
42
Sorrelyn
Breadboards
4
66
Sorrelyn

More prefabs to explore

Keep discovering what the Brickadia community is building.

Browse all
Toothless
4
24
Stratofortress
Restaurant Waiting Area Sign
1
4
Lunakibby
Carbon Fiber Rod
3
20
Sedna1694
Fancy Dining Booth
1
4
Lunakibby
Ceiling Ring Lamps
1
8
Lunakibby
Fancy Dining Chair
1
5
Lunakibby
Spinny Bar Stool
1
3
Lunakibby
Bubblewrap Panels
1
11
Longor
Racing Steering Wheel
1
6
Sedna1694
longurt
2
17
Kat
Infinite Minesweeper 2
1
13
Sunny333
Floating islands micro art
1
12
Qkamber01

© 2025 Brickadia, LLC • All rights reserved.
Brickadia is a registered trademark of Brickadia, LLC.

Navigation Search Blog Servers Contact Login
Support Contact Media Kit
Legal Terms Privacy