Let LuaGuiElements have text wrapping option
Let LuaGuiElements have text wrapping option
I think its necessary inorder to align text in textfield.
Last edited by quiloos39 on Fri May 19, 2017 5:46 pm, edited 1 time in total.
Re: Let LuaGuiElements have text wrapping option
For labels, do GuiElementLabel.single_line = falsequiloos39 wrote:I think its necessary inorder to align text.
So like:
Code: Select all
local label = game.players[1].gui.center.add{type = "label", caption = "A real long string something of which i would like to see wrap in someway instead of acting like a fool"}
label.style.maximal_width = 200
label.single_line = false
Re: Let LuaGuiElements have text wrapping option
Klonan wrote:For labels, do GuiElementLabel.single_line = falsequiloos39 wrote:I think its necessary inorder to align text.
So like:Code: Select all
local label = game.players[1].gui.center.add{type = "label", caption = "A real long string something of which i would like to see wrap in someway instead of acting like a fool"} label.style.maximal_width = 200 label.single_line = false
I forget to mention its a not label its textfield