Slider problem?

Blitz3D Forums/Blitz3D Beginners Area/Slider problem?

Well to put my problem at the simpless,

<- good
<- BAD
You can see the slider over lapping

	mnSHorizontal = CreateSlider( 165,391,450,15,wndMain,1 )
	mnSVertical   = CreateSlider( 615,0,15,390,wndMain,2 )

	SetGadgetLayout mnSHorizontal,1,1,0,0
	SetGadgetLayout mnSVertical,0,0,1,1


I need to fix that :(
Its not suppose to over lap on maximize no?
I set the gadget to be fix ;(

Dunno what exacly your code means, but couldn't you just change the values when the window is maximized?

Don't let blitz manage the sizes... Trap the resize and set them yourself. That will ensure that any overlapping is in your own coding.

How do you trap the size? *blink innocently*

fixed, and it just needed 1 more "1" its quite acurate to.

SetGadgetLayout mnSHorizontal,1,1,0,1
SetGadgetLayout mnSVertical,0,1,1,1