The template resizes just fine after testing it with multiple lines on the command prompt.
It seems the image you're placing within the icon is having resizing issues. You'll want to provide that part of your script for the best help.
Geyser UI Template
Re: Geyser UI Template
my other 8 buttons are done the same way just the word 'precache' is replaced!
Re: Geyser UI Template
It is because you're not setting your x,y position. So the images are placed one atop the other, the last of which is Icon9 so its shown on the top of the stack.
I don't set position or size with the GUI.Icon# because they're added to a Geyser HBox (GUI.Header) which handles the position and size for you. If you're adding your label to a label, size AND position must be set.
I don't set position or size with the GUI.Icon# because they're added to a Geyser HBox (GUI.Header) which handles the position and size for you. If you're adding your label to a label, size AND position must be set.
Re: Geyser UI Template
so, I should delete the for i = 9, stuff which makes the icons at moment and make real label icons?
Thanks
Thanks
Re: Geyser UI Template
No. You just need to specify x and y like so:
You could even put these in a for loop if you have a local table with all the icon names...
Re: Geyser UI Template
Would that not create labels over the top of others? Unless there's something I am not seeing here, a Geyser vbox/hbox would be the way forward here.
Re: Geyser UI Template
I did x = 0, y = 0, on them all and rebooted etc and still having the issue..Akaya wrote:No. You just need to specify x and y like so:
Akaya wrote: You could even put these in a for loop if you have a local table with all the icon names...
I'll test the loop later once I figure it out,
Re: Geyser UI Template
Perhaps they want to keep the thin white border from the template around their image? Another label must be added for an image to have a border.Would that not create labels over the top of others? Unless there's something I am not seeing here, a Geyser vbox/hbox would be the way forward here.
Re: Geyser UI Template
Sorry to be a pain but after messing with the above Stuff I'm getting this Error on my box4 and I've reverted back to how it was, but still getting this error and unsure as to why... anyone know why?
[ERROR:] object:<Update Stat Window> function:<Alias11>
<./mudlet-lua/lua/StringUtils.lua:165: attempt to index local 'self' (a nil value)>
[ERROR:] object:<Update Stat Window> function:<Alias11>
<./mudlet-lua/lua/StringUtils.lua:165: attempt to index local 'self' (a nil value)>
Re: Geyser UI Template
the above issue was somethign stupid but seems the pictures keep going outside the set width/height/x/y so had to delete them and just stick to text!..