Page 1 of 1

Problem with vertical gauges

Posted: Wed May 07, 2014 12:11 am
by Angie
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):

Image

Did anybody else experience this?

Re: Problem with vertical gauges

Posted: Wed May 07, 2014 8:02 pm
by Vadi
Can you set both to half and show that?

Re: Problem with vertical gauges

Posted: Wed May 07, 2014 8:15 pm
by Angie
Here you go:
Image

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

Posted: Wed May 21, 2014 7:50 pm
by Angie
Should I report this somewhere as a Mudlet bug?

Re: Problem with vertical gauges

Posted: Fri May 23, 2014 11:23 pm
by Vadi
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.

Re: Problem with vertical gauges

Posted: Fri May 23, 2014 11:35 pm
by Angie
Reported.