Page 1 of 1

[0.15.12] gui label is selectable/clickable ..

Posted: Sat May 20, 2017 4:14 pm
by mophydeen
sl-extended has a true item counter which is a label in the middle of the screen ie. the players character
note: cursor is not visible in the screenshots, it's a bit above the 100.

works
Screenshot from 2017-05-20 18-08-50.png
Screenshot from 2017-05-20 18-08-50.png (63.64 KiB) Viewed 1047 times
works
Screenshot from 2017-05-20 18-09-10.png
Screenshot from 2017-05-20 18-09-10.png (26.81 KiB) Viewed 1047 times
doesn't work. the cursor is on the label(1721) and won't place a belt here. also clicking and dragging won't work cause it's not registered when clicking-in
Screenshot from 2017-05-20 18-09-01.png
Screenshot from 2017-05-20 18-09-01.png (31.13 KiB) Viewed 1047 times


Bonus bug: label has a strange size/font/... for 7. it's smaller compared to the other characters.

Re: [0.15.12] gui label is selectable/clickable ..

Posted: Sat May 20, 2017 5:11 pm
by Rseding91
Labels are meant to be clickable. That's what the gui_clicked event is for.