Styling Geyser box: 'setStyleSheet' (a nil value)
Posted: Fri Feb 05, 2021 5:51 pm
I have successfully created the boxes I want. I'm successfully adding data.
I cannot style the boxes. I just want to add a little padding within the boxes so I don't have to make a ton of size and position adjustments to the boxes.
THE ISSUE is that I get this error: attempt to call method 'setStyleSheet' (a nil value)
Here is the relevant part of the script:
Is the issue that I'm making a miniConsole? If so how do I add padding?
Or is there an entirely different and better approach?
I cannot style the boxes. I just want to add a little padding within the boxes so I don't have to make a ton of size and position adjustments to the boxes.
THE ISSUE is that I get this error: attempt to call method 'setStyleSheet' (a nil value)
Here is the relevant part of the script:
Code: Select all
Comms = Geyser.MiniConsole:new({
name="Comms",
x=-390, y="50%",
autoWrap = true,
color = "white",
scrollBar = false,
fontSize = sidebarFontSize,
width=390, height="50%",
})
Comms:setStyleSheet([[
background-color: yellow;
]])
Or is there an entirely different and better approach?