I can't seem to get vertical gauges to behave properly. Unlike horizontal gauges, vertical show as full when they're at zero value. Here's a picture of two identical gauges, both set to (0,100):
Did anybody else experience this?
Problem with vertical gauges
Re: Problem with vertical gauges
Can you set both to half and show that?
Re: Problem with vertical gauges
Here you go:
and the code is:
and the code is:
Code: Select all
GUI.GaugeVertical = Geyser.Gauge:new({
name = "GUI.GaugeVertical",
x = -250, y = -450,
height = 200,
width = 20,
orientation = "vertical",
})
GUI.GaugeVertical.back:setStyleSheet([[background-color: gray;]])
GUI.GaugeVertical.front:setStyleSheet([[background-color: red;]])
GUI.GaugeVertical:setValue(50,100)
GUI.GaugeHorizontal = Geyser.Gauge:new({
name = "GUI.GaugeHorizontal",
x = -250, y = -500,
height = 20,
width = 200,
})
GUI.GaugeHorizontal.back:setStyleSheet([[background-color: gray;]])
GUI.GaugeHorizontal.front:setStyleSheet([[background-color: red;]])
GUI.GaugeHorizontal:setValue(50,100)
Re: Problem with vertical gauges
Should I report this somewhere as a Mudlet bug?
Re: Problem with vertical gauges
Yeah, it looks like when it's at 0 it is showing as if it is at 100, but 1-100 are fine. Please report this on launchpad.