The vertical scroll bar will not appear.
Steps to reproduce:
- Have a text-box style with a "horizontally_stretchable" set to "on":
Code: Select all
data.raw["gui-style"].default["text_box_test"] = {
type = "textbox_style",
parent = "textbox",
horizontally_stretchable = "on"
}
Code: Select all
/c game.player.gui.center.add{type = "text-box", style = "text_box_test", text = "\n"}
This behaviour is even more weird with a big text-box (minimal_width = 600, minimal_height = 600), as the grey box appears over the text-box, and disappear when you try to type text.
I don't know if a text-box is supposed to be working with the "horizontally_stretchable" style, but this appeared a bit too weird to me.