Search found 51 matches

by Angie
Mon May 19, 2014 6:11 am
Forum: Help Forum
Topic: Why isn't this working. It makes the label but....
Replies: 1
Views: 654

Re: Why isn't this working. It makes the label but....

Two reasons I can think of - first, capitalization matters (roomLabel vs. roomlabel). Second, aren't the .front and .back styles only for gauges?
by Angie
Sat May 17, 2014 10:37 pm
Forum: Help Forum
Topic: transparent Label/Miniconsole
Replies: 1
Views: 895

Re: transparent Label/Miniconsole

For the label, you can do

myAffBox:setStyleSheet([[background-color : transparent]]);

Don't think you can make the miniconsole transparent.
by Angie
Tue May 13, 2014 10:37 pm
Forum: Mudlet Mapper
Topic: Mapper Widget Background?
Replies: 5
Views: 2345

Re: Mapper Widget Background?

Thanks!
by Angie
Mon May 12, 2014 12:14 am
Forum: Mudlet Mapper
Topic: Mapper Widget Background?
Replies: 5
Views: 2345

Re: Mapper Widget Background?

Is there a way to script this as part of a GUI, or does every player need to set it themselves?
by Angie
Fri May 09, 2014 3:02 pm
Forum: Help Forum
Topic: getMudletHomeDir() and encoding
Replies: 18
Views: 3041

getMudletHomeDir() and encoding

I am having problems (yes, again!). This time it is with getMudletHomeDir(). On the Win XP computer at work, the name of the Documents and Settings folder that Mudlet installs its packages to contains Czech characters. Now, Mudlet itself can apparently get to the folder, because it finds the xml. On...
by Angie
Wed May 07, 2014 8:15 pm
Forum: Help Forum
Topic: Problem with vertical gauges
Replies: 5
Views: 1307

Re: Problem with vertical gauges

Here you go: http://mujweb.cz/eva-el/gauges2.png and the code is: 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:se...
by Angie
Wed May 07, 2014 8:05 pm
Forum: General Forum
Topic: How do you check to see if a file exists?
Replies: 5
Views: 2430

Re: How do you check to see if a file exists?

I found a way to do this, maybe it will help someone:

Code: Select all

local is_file = io.open(my_path/my_file)
if is_file == nil then
    GUI.Mine:echo("NOPE","white","b10")
else
    GUI.Mine:echo("YAY","yellow","b10")
end
I am not a coder, so if it's a very bad way of doing it, feel free to yell at me.
by Angie
Wed May 07, 2014 12:11 am
Forum: Help Forum
Topic: Problem with vertical gauges
Replies: 5
Views: 1307

Problem with vertical gauges

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?
by Angie
Sun May 04, 2014 10:02 pm
Forum: Scripts & Packages
Topic: CSSMan
Replies: 10
Views: 7190

Re: CSSMan

I'm not sure how. Attaching a second stylesheet with SetStyleSheet does not work (whether it's CSSMan or inline CSS), and I couldn't get setBackgroundImage to do anything when the label also has a stylesheet.
by Angie
Sun May 04, 2014 10:11 am
Forum: Scripts & Packages
Topic: CSSMan
Replies: 10
Views: 7190

Re: CSSMan

Thanks. I have a whole bunch of icons that have identical properties, except for a different background, so I thought it would be cleaner to split it. I will find a workaround.