Slider problem?

Blitz3D Forums/Blitz3D Beginners Area/Slider problem?

Apollonius(Posted 2003) [#1]
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 ;(


eBusiness(Posted 2003) [#2]
Dunno what exacly your code means, but couldn't you just change the values when the window is maximized?


Kanati(Posted 2003) [#3]
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.


Apollonius(Posted 2003) [#4]
How do you trap the size? *blink innocently*


Apollonius(Posted 2003) [#5]
fixed, and it just needed 1 more "1" its quite acurate to.

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