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
20 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.

showpos Chat Command
0
16
Sorrelyn
Tachometer
3
59
Sorrelyn
Mouse Aim Turret Driver
18
154
Sorrelyn
Wire Color Guide
43
257
Sorrelyn
Brixie Tube
24
266
Sorrelyn
BL Gravity Jeep
9
117
Sorrelyn
Tachometer
4
69
Sorrelyn
Rotary Encoder
4
42
Sorrelyn
Breadboards
4
66
Sorrelyn

More prefabs to explore

Keep discovering what the Brickadia community is building.

Browse all
Baby Grand Piano (Brown)
2
14
RadRooster
Baby Grand Piano (Black)
2
16
RadRooster
Wire-rope
1
7
La Creatura Chaos
Baby with Removable Pacifier
1
8
RadRooster
Baby
1
11
RadRooster
Lebron James
1
20
RadRooster
Functional Bong V.2 (FIXED)
2
25
SaturnSol14
Scrap-E
2
19
Harry Covert
Dolly Camera Rig V2
2
24
PyroNicampt
TV remote
3
32
101 Engineering
Power Strip
1
22
101 Engineering
Thirdperson Camera Detector
1
24
tricksyfroggy

© 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