Sg2.9
SpinEdits Acting Weird
Recent RSS
SpinEdits Acting Weird
From:  Chris Deutsch
Date:  15. March 2010, 14:12

For some reason, the SpinEdit fields are all the same height (the print command states they're 100px x 100px) and the same position, no matter what I define those values to be. This started occurring with the new Scriptographer 2.7. Anyone else have this problem?

Chris

Re: SpinEdits Acting Weird
From:  Jürg Lehni
Date:  17. March 2010, 18:07

Hi Chris,

Any example code for me to try this out easily? I will then look into it.

Thanks!

Re: SpinEdits Acting Weird
From:  Chris Deutsch
Date:  18. March 2010, 13:33

Sure!

This script creates a floating dialog and places 2 spin edits of different size at different positions:

var dialog = new FloatingDialog('tabbed'){
	title: "Spin Edit Test",
	size:[200, 200]
};

var spinEditTest1 = new SpinEdit(dialog){
	size: [40,20],
	position: [5,5]
};

var spinEditTest2 = new SpinEdit(dialog){
	size: [100,20],
	position: [20,100]
};

But the spin edits turn out to be huge and on top of each other.

Chris

Re: SpinEdits Acting Weird
From:  Jürg Lehni
Date:  19. March 2010, 18:01

This error only happens on Windows. I fixed it and will release a new version shortly.

Re: SpinEdits Acting Weird
From:  Jürg Lehni
Date:  20. March 2010, 02:25

This should work fine now in the new version 2.7.040.

Scripts
08.08.14, 15:24
15.05.14, 14:23
02.03.14, 19:16
18.11.13, 14:48
22.03.13, 03:05
22.02.13, 15:45
Posts
10.01.17, 16:37
19.02.16, 06:03
19.02.16, 06:00
17.01.16, 11:00
12.01.16, 13:10
25.11.15, 08:19
Script of the Moment
Crumpler 23.07.10