Skip to content

Commit eddc387

Browse files
committed
Updated widget size attribute
1 parent 85991e8 commit eddc387

562 files changed

Lines changed: 4468 additions & 4468 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3D/Code Examples/Bouncing Balls Example 3D.nlogox3d

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@ end
7373
<view3d wrappingAllowedZ="true" x="0" maxPycor="9" updateMode="1" wrappingAllowedX="true" y="0" frameRate="30.0" maxPzcor="9" minPycor="-9" height="259" showTickCounter="true" patchSize="12.0" fontSize="10" wrappingAllowedY="true" width="245" tickCounterLabel="ticks" maxPxcor="9" minPxcor="-9" minPzcor="-9"></view3d>
7474
<button x="63" y="53" height="33" disableUntilTicks="false" forever="false" kind="Observer" width="85">setup</button>
7575
<button x="149" y="53" height="33" disableUntilTicks="true" forever="true" kind="Observer" width="85">go</button>
76-
<slider x="62" step="1" y="18" height="33" min="0" direction="Horizontal" oldSize="true" max="50" default="15.0" variable="ball-count" width="172" display="ball-count"></slider>
77-
<switch x="18" y="97" height="33" oldSize="true" on="false" variable="color-speed?" width="128" display="color-speed?"></switch>
78-
<switch x="147" y="97" height="33" oldSize="true" on="true" variable="tails?" width="128" display="tails?"></switch>
76+
<slider x="62" step="1" y="18" height="33" min="0" direction="Horizontal" max="50" default="15.0" variable="ball-count" width="172" sizeVersion="0" display="ball-count"></slider>
77+
<switch x="18" y="97" height="33" on="false" variable="color-speed?" width="128" sizeVersion="0" display="color-speed?"></switch>
78+
<switch x="147" y="97" height="33" on="true" variable="tails?" width="128" sizeVersion="0" display="tails?"></switch>
7979
<button x="70" y="188" height="33" disableUntilTicks="false" forever="false" kind="Observer" width="145">reset-perspective</button>
8080
<button x="69" y="153" height="33" disableUntilTicks="true" forever="false" kind="Observer" width="146">watch one-of balls</button>
8181
</widgets>

3D/Code Examples/Neighborhoods Example 3D.nlogox3d

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,10 @@ end
6868
<view3d wrappingAllowedZ="true" x="0" maxPycor="17" updateMode="1" wrappingAllowedX="true" y="0" frameRate="30.0" maxPzcor="6" minPycor="-17" height="346" showTickCounter="true" patchSize="9.0" fontSize="10" wrappingAllowedY="true" width="325" tickCounterLabel="ticks" maxPxcor="17" minPxcor="-17" minPzcor="-6"></view3d>
6969
<button x="76" y="29" height="37" disableUntilTicks="false" forever="false" kind="Observer" width="127">setup</button>
7070
<button x="10" y="90" height="33" disableUntilTicks="false" forever="false" kind="Observer" width="120">paint-neighbors</button>
71-
<slider x="132" step="1" y="124" height="33" min="1" direction="Horizontal" oldSize="true" max="5" default="2.0" variable="radius" width="133" display="radius"></slider>
71+
<slider x="132" step="1" y="124" height="33" min="1" direction="Horizontal" max="5" default="2.0" variable="radius" width="133" sizeVersion="0" display="radius"></slider>
7272
<button x="10" y="158" height="33" disableUntilTicks="false" forever="false" kind="Observer" width="120">paint-at-points</button>
7373
<button x="132" y="90" height="33" disableUntilTicks="false" forever="false" kind="Observer" width="133">paint-neighbors6</button>
74-
<chooser x="132" y="158" height="45" oldSize="true" variable="points" current="0" width="138" display="points">
74+
<chooser x="132" y="158" height="45" variable="points" current="0" width="138" sizeVersion="0" display="points">
7575
<choice type="string" value="corners"></choice>
7676
</chooser>
7777
<button x="10" y="124" height="33" disableUntilTicks="false" forever="false" kind="Observer" width="120">paint-in-radius</button>

3D/Code Examples/Network Example 3D.nlogox3d

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ end
5151
<widgets>
5252
<view3d wrappingAllowedZ="true" x="0" maxPycor="20" updateMode="1" wrappingAllowedX="true" y="0" frameRate="30.0" maxPzcor="20" minPycor="-20" height="441" showTickCounter="true" patchSize="10.0" fontSize="10" wrappingAllowedY="true" width="420" tickCounterLabel="ticks" maxPxcor="20" minPxcor="-20" minPzcor="-20"></view3d>
5353
<button x="100" y="112" height="33" disableUntilTicks="true" forever="true" kind="Observer" width="77">go</button>
54-
<slider x="9" step="1" y="75" height="33" min="0" direction="Horizontal" oldSize="true" max="100" default="30.0" variable="number-of-nodes" width="179" display="number-of-nodes"></slider>
54+
<slider x="9" step="1" y="75" height="33" min="0" direction="Horizontal" max="100" default="30.0" variable="number-of-nodes" width="179" sizeVersion="0" display="number-of-nodes"></slider>
5555
<button x="22" y="112" height="33" disableUntilTicks="false" forever="false" kind="Observer" width="77">setup</button>
56-
<slider x="8" step="1" y="150" height="33" min="0" direction="Horizontal" oldSize="true" max="100" default="20.0" variable="number-of-edges" width="179" display="number-of-edges"></slider>
56+
<slider x="8" step="1" y="150" height="33" min="0" direction="Horizontal" max="100" default="20.0" variable="number-of-edges" width="179" sizeVersion="0" display="number-of-edges"></slider>
5757
<button x="27" y="187" height="33" disableUntilTicks="true" forever="true" kind="Observer" width="141">wiggle-nodes</button>
5858
</widgets>
5959
<info><![CDATA[## WHAT IS IT?

3D/Code Examples/Spherical Path Example 3D.nlogox3d

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,13 @@ end
7070
; copyright and related or neighboring rights to this model.</code>
7171
<widgets>
7272
<view3d wrappingAllowedZ="true" x="0" maxPycor="16" updateMode="1" wrappingAllowedX="true" y="0" frameRate="30.0" maxPzcor="16" minPycor="-16" height="460" showTickCounter="false" patchSize="13.0" fontSize="10" wrappingAllowedY="true" width="439" tickCounterLabel="ticks" maxPxcor="16" minPxcor="-16" minPzcor="-16"></view3d>
73-
<chooser x="35" y="120" height="45" oldSize="true" variable="step-size" current="1" width="175" display="step-size">
73+
<chooser x="35" y="120" height="45" variable="step-size" current="1" width="175" sizeVersion="0" display="step-size">
7474
<choice type="double" value="10.0"></choice>
7575
<choice type="double" value="1.0"></choice>
7676
<choice type="double" value="0.1"></choice>
7777
<choice type="double" value="0.001"></choice>
7878
</chooser>
79-
<chooser x="35" y="235" height="45" oldSize="true" variable="arc-angle" current="2" width="175" display="arc-angle">
79+
<chooser x="35" y="235" height="45" variable="arc-angle" current="2" width="175" sizeVersion="0" display="arc-angle">
8080
<choice type="double" value="1.0"></choice>
8181
<choice type="double" value="5.0"></choice>
8282
<choice type="double" value="10.0"></choice>
@@ -87,7 +87,7 @@ end
8787
<button x="35" y="170" height="33" disableUntilTicks="true" forever="true" kind="Observer" width="175">go-distance</button>
8888
<button x="35" y="285" height="33" disableUntilTicks="true" forever="true" kind="Observer" width="175">go-angle</button>
8989
<button x="35" y="29" height="33" disableUntilTicks="false" forever="false" kind="Observer" width="175">setup</button>
90-
<slider x="35" step="1" y="65" height="33" min="0" direction="Horizontal" oldSize="true" max="360" default="0.0" variable="wiggle-range" units="degrees" width="175" display="wiggle-range"></slider>
90+
<slider x="35" step="1" y="65" height="33" min="0" direction="Horizontal" max="360" default="0.0" variable="wiggle-range" units="degrees" width="175" sizeVersion="0" display="wiggle-range"></slider>
9191
</widgets>
9292
<info><![CDATA[## WHAT IS IT?
9393

3D/Code Examples/Trails Example 3D.nlogox3d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ end
2525
; copyright and related or neighboring rights to this model.</code>
2626
<widgets>
2727
<view3d wrappingAllowedZ="true" x="0" maxPycor="20" updateMode="1" wrappingAllowedX="true" y="0" frameRate="30.0" maxPzcor="20" minPycor="-20" height="441" showTickCounter="true" patchSize="10.0" fontSize="10" wrappingAllowedY="true" width="420" tickCounterLabel="ticks" maxPxcor="20" minPxcor="-20" minPzcor="-20"></view3d>
28-
<slider x="10" step="1" y="40" height="33" min="0" direction="Horizontal" oldSize="true" max="100" default="10.0" variable="number-of-drawers" width="179" display="number-of-drawers"></slider>
28+
<slider x="10" step="1" y="40" height="33" min="0" direction="Horizontal" max="100" default="10.0" variable="number-of-drawers" width="179" sizeVersion="0" display="number-of-drawers"></slider>
2929
<button x="38" y="82" height="33" disableUntilTicks="false" forever="false" kind="Observer" width="118">setup</button>
3030
<button x="38" y="117" height="33" disableUntilTicks="true" forever="true" kind="Observer" width="118">go</button>
3131
<button x="38" y="152" height="33" disableUntilTicks="false" forever="false" kind="Observer" width="118">clear-drawing</button>

3D/Code Examples/Turtle Dance Example 3D.nlogox3d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ end
2727
<view3d wrappingAllowedZ="true" x="0" maxPycor="9" updateMode="1" wrappingAllowedX="true" y="0" frameRate="30.0" maxPzcor="9" minPycor="-9" height="259" showTickCounter="true" patchSize="12.0" fontSize="10" wrappingAllowedY="true" width="245" tickCounterLabel="ticks" maxPxcor="9" minPxcor="-9" minPzcor="-9"></view3d>
2828
<button x="20" y="68" height="33" disableUntilTicks="false" forever="false" kind="Observer" width="90">setup</button>
2929
<button x="113" y="68" height="33" disableUntilTicks="true" forever="true" kind="Observer" width="90">go</button>
30-
<slider x="26" step="1" y="32" height="33" min="0" direction="Horizontal" oldSize="true" max="100" default="30.0" variable="number-of-turtles" width="172" display="number-of-turtles"></slider>
30+
<slider x="26" step="1" y="32" height="33" min="0" direction="Horizontal" max="100" default="30.0" variable="number-of-turtles" width="172" sizeVersion="0" display="number-of-turtles"></slider>
3131
<button x="7" y="103" height="33" disableUntilTicks="false" forever="false" kind="Turtle" width="103">pen-down</button>
3232
<button x="113" y="103" height="33" disableUntilTicks="false" forever="false" kind="Observer" width="103">clear-drawing</button>
3333
</widgets>

3D/Code Examples/Turtle and Observer Motion Example 3D.nlogox3d

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -40,17 +40,17 @@ end
4040
<button x="268" y="115" height="36" disableUntilTicks="false" forever="true" kind="Observer" width="108" display="tilt-down">ask turtles [ tilt-down 1 ]
4141
display</button>
4242
<button x="180" y="10" height="37" disableUntilTicks="false" forever="false" kind="Observer" width="136">setup</button>
43-
<monitor x="115" precision="3" y="133" height="45" oldSize="true" fontSize="11" width="69" display="pitch">[pitch] of turtle 0</monitor>
44-
<monitor x="185" precision="3" y="133" height="45" oldSize="true" fontSize="11" width="69" display="roll">[roll] of turtle 0</monitor>
43+
<monitor x="115" precision="3" y="133" height="45" fontSize="11" width="69" sizeVersion="0" display="pitch">[pitch] of turtle 0</monitor>
44+
<monitor x="185" precision="3" y="133" height="45" fontSize="11" width="69" sizeVersion="0" display="roll">[roll] of turtle 0</monitor>
4545
<button x="377" y="115" height="36" disableUntilTicks="false" forever="true" kind="Observer" width="108" display="tilt-up">ask turtles [ tilt-up 1 ]
4646
display</button>
47-
<monitor x="45" precision="3" y="83" height="45" oldSize="true" fontSize="11" width="69" display="xcor">[xcor] of turtle 0</monitor>
48-
<monitor x="115" precision="3" y="83" height="45" oldSize="true" fontSize="11" width="69" display="ycor">[ycor] of turtle 0</monitor>
49-
<monitor x="185" precision="3" y="83" height="45" oldSize="true" fontSize="11" width="69" display="zcor">[zcor] of turtle 0</monitor>
47+
<monitor x="45" precision="3" y="83" height="45" fontSize="11" width="69" sizeVersion="0" display="xcor">[xcor] of turtle 0</monitor>
48+
<monitor x="115" precision="3" y="83" height="45" fontSize="11" width="69" sizeVersion="0" display="ycor">[ycor] of turtle 0</monitor>
49+
<monitor x="185" precision="3" y="83" height="45" fontSize="11" width="69" sizeVersion="0" display="zcor">[zcor] of turtle 0</monitor>
5050
<button x="377" y="81" height="33" disableUntilTicks="false" forever="true" kind="Observer" width="108" display="right">ask turtles [ right 1 ]
5151
display</button>
5252
<button x="268" y="81" height="33" disableUntilTicks="false" forever="true" kind="Observer" width="108" display="left">ask turtles [ left 1 ] display</button>
53-
<monitor x="45" precision="3" y="133" height="45" oldSize="true" fontSize="11" width="69" display="heading">[heading] of turtle 0</monitor>
53+
<monitor x="45" precision="3" y="133" height="45" fontSize="11" width="69" sizeVersion="0" display="heading">[heading] of turtle 0</monitor>
5454
<button x="377" y="152" height="33" disableUntilTicks="false" forever="true" kind="Observer" width="108" display="roll-right">ask turtles [ roll-right 1 ]
5555
display</button>
5656
<button x="268" y="152" height="33" disableUntilTicks="false" forever="true" kind="Observer" width="108" display="roll-left">ask turtles [ roll-left 1 ]
@@ -75,12 +75,12 @@ display</button>
7575
<button x="51" y="500" height="33" disableUntilTicks="false" forever="false" kind="Observer" width="279">facexyz max-pycor max-pxcor 0</button>
7676
<button x="331" y="500" height="33" disableUntilTicks="true" forever="false" kind="Observer" width="140">face turtle 0</button>
7777
<button x="190" y="329" height="33" disableUntilTicks="true" forever="false" kind="Observer" width="140">watch turtle 0</button>
78-
<monitor x="140" precision="3" y="221" height="45" oldSize="true" fontSize="11" width="78">__oxcor</monitor>
79-
<monitor x="219" precision="3" y="221" height="45" oldSize="true" fontSize="11" width="78">__oycor</monitor>
80-
<monitor x="298" precision="3" y="221" height="45" oldSize="true" fontSize="11" width="78">__ozcor</monitor>
81-
<monitor x="140" precision="3" y="271" height="45" oldSize="true" fontSize="11" width="78">__oheading</monitor>
82-
<monitor x="219" precision="3" y="271" height="45" oldSize="true" fontSize="11" width="78">__opitch</monitor>
83-
<monitor x="298" precision="3" y="271" height="45" oldSize="true" fontSize="11" width="78">__oroll</monitor>
78+
<monitor x="140" precision="3" y="221" height="45" fontSize="11" width="78" sizeVersion="0">__oxcor</monitor>
79+
<monitor x="219" precision="3" y="221" height="45" fontSize="11" width="78" sizeVersion="0">__oycor</monitor>
80+
<monitor x="298" precision="3" y="221" height="45" fontSize="11" width="78" sizeVersion="0">__ozcor</monitor>
81+
<monitor x="140" precision="3" y="271" height="45" fontSize="11" width="78" sizeVersion="0">__oheading</monitor>
82+
<monitor x="219" precision="3" y="271" height="45" fontSize="11" width="78" sizeVersion="0">__opitch</monitor>
83+
<monitor x="298" precision="3" y="271" height="45" fontSize="11" width="78" sizeVersion="0">__oroll</monitor>
8484
</widgets>
8585
<info><![CDATA[## WHAT IS IT?
8686

3D/Code Examples/Uniform Distribution on a Sphere Example 3D.nlogox3d

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,24 +29,24 @@ end
2929
<widgets>
3030
<view3d wrappingAllowedZ="true" x="0" maxPycor="16" updateMode="1" wrappingAllowedX="true" y="0" frameRate="30.0" maxPzcor="16" minPycor="-16" height="460" showTickCounter="true" patchSize="13.0" fontSize="10" wrappingAllowedY="true" width="439" tickCounterLabel="ticks" maxPxcor="16" minPxcor="-16" minPzcor="-16"></view3d>
3131
<button x="56" y="75" height="33" disableUntilTicks="false" forever="false" kind="Observer" width="150">setup-uniform</button>
32-
<slider x="48" step="1" y="36" height="33" min="0" direction="Horizontal" oldSize="true" max="10000" default="5000.0" variable="number" width="172" display="number"></slider>
33-
<plot x="33" yMax="13.0" y="150" xMin="-16.0" height="150" legend="false" oldSize="true" xMax="16.0" autoplot="true" yMin="0.0" width="200" display="xcor">
32+
<slider x="48" step="1" y="36" height="33" min="0" direction="Horizontal" max="10000" default="5000.0" variable="number" width="172" sizeVersion="0" display="number"></slider>
33+
<plot x="33" yMax="13.0" y="150" xMin="-16.0" height="150" legend="false" xMax="16.0" autoplot="true" yMin="0.0" width="200" sizeVersion="0" display="xcor">
3434
<setup></setup>
3535
<update></update>
3636
<pen color="-16777216" legend="true" interval="1.0" mode="1" display="xcor">
3737
<setup></setup>
3838
<update>histogram [xcor] of turtles</update>
3939
</pen>
4040
</plot>
41-
<plot x="33" yMax="10.0" y="299" xMin="-16.0" height="150" legend="false" oldSize="true" xMax="16.0" autoplot="true" yMin="0.0" width="200" display="ycor">
41+
<plot x="33" yMax="10.0" y="299" xMin="-16.0" height="150" legend="false" xMax="16.0" autoplot="true" yMin="0.0" width="200" sizeVersion="0" display="ycor">
4242
<setup></setup>
4343
<update></update>
4444
<pen color="-16777216" legend="true" interval="1.0" mode="1" display="ycor">
4545
<setup></setup>
4646
<update>histogram [ycor] of turtles</update>
4747
</pen>
4848
</plot>
49-
<plot x="33" yMax="10.0" y="448" xMin="-16.0" height="150" legend="false" oldSize="true" xMax="16.0" autoplot="true" yMin="0.0" width="200" display="zcor">
49+
<plot x="33" yMax="10.0" y="448" xMin="-16.0" height="150" legend="false" xMax="16.0" autoplot="true" yMin="0.0" width="200" sizeVersion="0" display="zcor">
5050
<setup></setup>
5151
<update></update>
5252
<pen color="-16777216" legend="true" interval="1.0" mode="1" display="zcor">

3D/Sample Models/DLA 3D.nlogox3d

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,11 @@ end
6767
; See Info tab for full copyright and license.]]></code>
6868
<widgets>
6969
<view3d wrappingAllowedZ="true" x="0" maxPycor="25" updateMode="1" wrappingAllowedX="true" y="0" frameRate="30.0" maxPzcor="25" minPycor="-25" height="259" showTickCounter="true" patchSize="4.0" fontSize="10" wrappingAllowedY="true" width="245" tickCounterLabel="ticks" maxPxcor="25" minPxcor="-25" minPzcor="-25"></view3d>
70-
<slider x="22" step="1" y="104" height="33" min="1" direction="Horizontal" oldSize="true" max="300" default="300.0" variable="max-particles" width="253" display="max-particles"></slider>
70+
<slider x="22" step="1" y="104" height="33" min="1" direction="Horizontal" max="300" default="300.0" variable="max-particles" width="253" sizeVersion="0" display="max-particles"></slider>
7171
<button x="79" y="24" height="33" disableUntilTicks="false" forever="false" kind="Observer" width="63">setup</button>
7272
<button x="154" y="24" height="33" disableUntilTicks="true" forever="true" kind="Observer" width="63">go</button>
73-
<slider x="22" step="1.0" y="70" height="33" min="0.0" direction="Horizontal" oldSize="true" max="360.0" default="60.0" variable="wiggle-angle" units="degrees" width="253" display="wiggle-angle"></slider>
74-
<switch x="68" y="167" height="33" oldSize="true" on="true" variable="use-whole-world?" width="169" display="use-whole-world?"></switch>
73+
<slider x="22" step="1.0" y="70" height="33" min="0.0" direction="Horizontal" max="360.0" default="60.0" variable="wiggle-angle" units="degrees" width="253" sizeVersion="0" display="wiggle-angle"></slider>
74+
<switch x="68" y="167" height="33" on="true" variable="use-whole-world?" width="169" sizeVersion="0" display="use-whole-world?"></switch>
7575
</widgets>
7676
<info><![CDATA[## WHAT IS IT?
7777

0 commit comments

Comments
 (0)