FryGUI

BlitzMax Forums/BlitzMax Programming/FryGUI

That would be a bug.

In the fry_TSlider type there's a method UpdateBarPos().

Change that to

Method UpdateBarPos()
	
	Select gAlign
		Case VERT_ALIGN gStart = ((gSY + gSLen)  - (gUnit * Float(gValue - gStartVal))			) - (gLength / 2)
		Case HORIZ_ALIGN gStart = (gSX + (gUnit * Float(gValue - gStartVal))) - (gLength / 2)
	End Select
	
End Method


The problem was there where it says Float(gValue - gStartVal). Before, it wasn't subtracting the starting value, hence it was drawing the slider outside the viewport for the gadget. All sorted now, it seems.

Now, my blog's updated....