Search found 3 matches
- Mon Aug 17, 2020 9:01 am
- Forum: Support and Development
- Topic: Scaling elements without stretch ?
- Replies: 5
- Views: 2885
Re: How to scaling children elements without stretch ?
I tested your version, but it has position problems and with changing size. Problems : https://files.catbox.moe/f3271r.mp4 What do you mean by context? Exactly that. You haven't mentioned how you want to deal with the issues inherent to scaling. And you haven't given enough code to allow us to run ...
- Sun Aug 16, 2020 3:13 pm
- Forum: Support and Development
- Topic: Scaling elements without stretch ?
- Replies: 5
- Views: 2885
Re: How to scaling children elements without stretch ?
I tested your version, but it has position problems and with changing size.
Problems :https://files.catbox.moe/f3271r.mp4
What do you mean by context?
- Fri Aug 14, 2020 1:25 pm
- Forum: Support and Development
- Topic: Scaling elements without stretch ?
- Replies: 5
- Views: 2885
Scaling elements without stretch ?
I found the code for scaling elements by window size and convert him to lua but i have a problem with scaling rectangles, they stretch when the window is resized but i want save original form. How to fix this problem ? My code: local objects = { {x = g_x + 0, y = g_y, w = 50, h = 50}, {x = g_x + 55,...