trompetin17
e845da025a
Add deprecation warning to GetTextSize API
...
Adds a runtime warning to `Engine.GetTextSize` indicating that the API
is deprecated and will be removed in a future version.
This API does not simulate GUI rendering accurately, as it treats markup
tags like [color], [font], or [icon] as visible characters. This leads
to incorrect size measurements in modern GUI layouts.
New recommended alternatives:
- Use `Engine.GetGUITextSize(...)` for accurate measurement of raw text
blocks, fully simulating GUI rendering.
- Use `guiObject.getTextSize()` when working within a specific GUI
object, as it accounts for maxWidth, padding (bufferZone), and object
constraints.
A warning is now emitted at runtime to guide developers toward these
updated APIs.
2025-06-26 17:11:24 -05:00
..
2025-04-20 17:13:40 +02:00
2025-06-26 17:25:05 +02:00
2025-06-26 17:11:24 -05:00
2025-06-16 11:03:09 -05:00
2024-12-09 10:43:35 +01:00
2025-06-26 17:25:05 +02:00
2025-06-15 07:43:08 +02:00
2025-06-18 12:49:59 +02:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2025-06-11 08:10:18 -05:00
2025-06-11 08:10:18 -05:00
2025-06-11 08:10:18 -05:00
2024-07-06 14:48:44 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2025-06-16 11:03:09 -05:00
2025-04-17 12:35:40 +02:00
2024-12-10 11:29:48 +01:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2024-09-28 21:55:30 +02:00
2023-12-03 00:30:12 +00:00
2024-12-09 22:47:17 +01:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2025-06-18 14:42:13 +02:00
2025-06-17 21:56:04 +02:00
2025-02-10 18:11:02 +01:00
2023-12-03 00:30:12 +00:00
2025-04-22 17:03:29 +02:00
2024-12-27 19:01:53 +01:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2025-04-24 15:11:22 +02:00
2025-04-24 15:11:22 +02:00
2025-04-11 06:24:32 +02:00
2023-12-03 00:30:12 +00:00
2025-04-24 15:11:22 +02:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2024-08-05 15:27:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2025-06-26 17:25:05 +02:00
2023-12-03 00:30:12 +00:00
2025-04-16 22:38:34 +02:00
2025-06-26 17:25:05 +02:00
2025-04-16 22:38:34 +02:00
2025-04-16 22:38:34 +02:00
2025-04-16 22:38:34 +02:00
2025-06-11 08:10:18 -05:00
2023-12-03 00:30:12 +00:00
2024-08-28 23:37:36 +02:00
2023-12-03 00:30:12 +00:00
2025-04-22 17:03:29 +02:00
2025-06-26 17:25:05 +02:00
2025-06-20 09:01:19 +02:00
2024-12-19 21:36:51 +01:00
2023-12-03 00:30:12 +00:00
2024-11-17 18:03:49 +01:00
2024-11-17 18:03:49 +01:00
2025-06-18 12:49:59 +02:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2024-11-17 20:27:58 +01:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2025-04-09 12:51:21 +02:00
2023-12-03 00:30:12 +00:00
2025-06-19 19:05:56 +02:00
2023-12-03 00:30:12 +00:00
2025-04-09 12:51:21 +02:00
2023-12-03 00:30:12 +00:00
2024-10-28 16:35:49 +01:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00
2023-12-03 00:30:12 +00:00