Page 2 of 2
Posted: Tue Jun 15, 2010 1:38 pm
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/
Posted: Tue Jun 15, 2010 10:33 pm
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.
Posted: Mon Sep 27, 2010 5:24 pm
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?
Posted: Sun Apr 24, 2011 10:29 am
Here the style sheet method(s) as requested:
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.
Posted: Sun Apr 24, 2011 4:52 pm
Thanks a ton!
Posted: Thu May 19, 2011 6:51 am
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.
Posted: Thu May 19, 2011 7:05 am
Ok, I'll added that code with a minor modification:
Posted: Thu May 19, 2011 1:37 pm
Posted: Mon May 30, 2011 5:56 pm
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.
Posted: Mon May 30, 2011 6:02 pm
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.