Calculatable dimensions... for example, height = "100% - 50px". I have a box I need to stretch depending on the screen size, but it has static elements both below and above it; and I need it to fit in between.
I guess this resembles something like so: http://hacks.mozilla.org/2010/06/css3-calc/
Requests/Bugs
Re: Requests/Bugs
agreed. I use the Geyser.Container:get_width() and such functions for that purpose, but it'd be nicer if you could do that instead.
Re: Requests/Bugs
One more... seems the setLabelStyleSheet function needs to be hooked up, so you can do <label object>:setLabelStyleSheet(css).
Current workaround of setLabelStyleSheet("<label object name>", css) works. Anyone up for adding this simple thing?
Current workaround of setLabelStyleSheet("<label object name>", css) works. Anyone up for adding this simple thing?
Re: Requests/Bugs
Here the style sheet method(s) as requested:
Label:
Note that the gauge builds on the label having the method added.
Label:
Gauge:
Just put them in appropiate positions in GeyserLabel.lua and GeyserGauge.lua and restart Mudlet.
Note that the gauge builds on the label having the method added.
Re: Requests/Bugs
Found a bug when creating new miniconsoles. They don't set their fontSize. I -think- just adding this at line 107 of GeyserMiniConsole.lua will fix it, but if I'm way off base let me know:
I took the line number from the file at your github account, Beliar. I put the else in because miniconsoles -really- don't work very well if they don't have their font size set. It's possible you may want to grab the value from the parent, rather than defaulting to 8. I didn't look into the code quite deeply enough to see how to go about that though.
I took the line number from the file at your github account, Beliar. I put the else in because miniconsoles -really- don't work very well if they don't have their font size set. It's possible you may want to grab the value from the parent, rather than defaulting to 8. I didn't look into the code quite deeply enough to see how to go about that though.
Re: Requests/Bugs
Ok, I'll added that code with a minor modification:
Re: Requests/Bugs
Is it possible to bring all of the API documentation for Geyser in http://wiki.mudlet.org/w/Manual:Geyser? So it'll become *the* place for all Geyser things to link to / learn.
Re: Requests/Bugs
sent a pull request from my branch to include Geyser.MiniConsole:append() and Geyser.MiniConsole:clear() in order to get appendBuffer and clearUserWindow() functionality with the Geyser auto-named miniconsoles. I found with my tabbed chat, and last night while working on porting my lusternian calendar that I was having to give my miniconsoles names anyways. This should let Geyser handled all of that.