Quote:
Originally Posted by deeb
This is Whats is buggin me now . I'll try and see if i can fix ir later
|
That would be awesome; I'm a couple of weeks away from having any time to fiddle with it myself.
Both of them use the same logic - Checklist in
nmouseup and Radio in
nmousedown:
Code:
-- See which option it's on
local mouseopt = self.dir == "h" and (GUI.mouse.x - (self.x + 0.5*self.chk_w))
or (GUI.mouse.y - (self.y + self.cap_h + self.pad) )
mouseopt = mouseopt / ((self.chk_w + self.pad) * #self.optarray)
mouseopt = GUI.clamp( math.floor(mouseopt * #self.optarray) + 1 , 1, #self.optarray )
Edit: I can't actually reproduce it on my end. If the checklist's height is too small then the last couple of options spill outside the frame and aren't clickable, but it appears to be properly detecting the option I'm over.
Quote:
Originally Posted by deeb
Is it possible without changing tab classe Tô have tabs with multiple rows?
|
Not at the moment.