Skip to content

Commit 008348d

Browse files
committed
Preserve old sizing of HubNet monitor widgets
1 parent 65ef0cb commit 008348d

24 files changed

Lines changed: 140 additions & 140 deletions

HubNet Activities/BeeSmart HubNet.nlogox

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1705,15 +1705,15 @@ To inquire about commercial licenses for either NetLogo or specific models from
17051705
<button x="205" actionKey="D" y="129" height="33" disableUntilTicks="false" forever="false" kind="Observer" width="79" display="right"></button>
17061706
<button x="9" actionKey="Q" y="185" height="33" disableUntilTicks="false" forever="false" kind="Observer" width="79" display="dance"></button>
17071707
<button x="205" actionKey="R" y="185" height="33" disableUntilTicks="false" forever="false" kind="Observer" width="79" display="revisit"></button>
1708-
<monitor x="11" precision="3" y="351" height="49" fontSize="11" width="131" display="dances-made"></monitor>
1709-
<monitor x="11" precision="3" y="297" height="49" fontSize="11" width="131" display="dance-length"></monitor>
1710-
<monitor x="11" precision="3" y="243" height="49" fontSize="11" width="131" display="target-quality"></monitor>
1711-
<monitor x="8" precision="3" y="26" height="49" fontSize="11" width="275" display="Message"></monitor>
1712-
<monitor x="156" precision="3" y="243" height="49" fontSize="11" width="129" display="interest-in-target"></monitor>
1713-
<monitor x="11" precision="3" y="405" height="49" fontSize="11" width="274" display="summary"></monitor>
1708+
<monitor x="11" precision="3" y="351" height="49" fontSize="11" display="dances-made" width="131" sizeVersion="0"></monitor>
1709+
<monitor x="11" precision="3" y="297" height="49" fontSize="11" display="dance-length" width="131" sizeVersion="0"></monitor>
1710+
<monitor x="11" precision="3" y="243" height="49" fontSize="11" display="target-quality" width="131" sizeVersion="0"></monitor>
1711+
<monitor x="8" precision="3" y="26" height="49" fontSize="11" display="Message" width="275" sizeVersion="0"></monitor>
1712+
<monitor x="156" precision="3" y="243" height="49" fontSize="11" display="interest-in-target" width="129" sizeVersion="0"></monitor>
1713+
<monitor x="11" precision="3" y="405" height="49" fontSize="11" display="summary" width="274" sizeVersion="0"></monitor>
17141714
<note x="14" y="459" backgroundDark="0" fontSize="11" width="252" markdown="false" height="28" textColorDark="-1" textColorLight="-16777216" backgroundLight="0">[T Q R] : ticks, target-quality, recruited</note>
1715-
<monitor x="156" precision="3" y="351" height="49" fontSize="11" width="129" display="ticks"></monitor>
1716-
<monitor x="156" precision="3" y="297" height="49" fontSize="11" width="129" display="bees-recruited"></monitor>
1715+
<monitor x="156" precision="3" y="351" height="49" fontSize="11" display="ticks" width="129" sizeVersion="0"></monitor>
1716+
<monitor x="156" precision="3" y="297" height="49" fontSize="11" display="bees-recruited" width="129" sizeVersion="0"></monitor>
17171717
<button x="104" actionKey="G" y="185" height="33" disableUntilTicks="false" forever="false" kind="Observer" width="84" display="give-up"></button>
17181718
</hubNetClient>
17191719
<previewCommands>need-to-manually-make-preview-for-this-model</previewCommands>

HubNet Activities/Code Examples/Client Perspective Example HubNet.nlogox

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -832,7 +832,7 @@ Make sure that the "Mirror 2D view on clients" box is selected on the HubNet Con
832832
<button x="147" actionKey="L" y="171" height="33" disableUntilTicks="false" forever="false" kind="Observer" width="63" display="right"></button>
833833
<button x="23" actionKey="J" y="171" height="33" disableUntilTicks="false" forever="false" kind="Observer" width="62" display="left"></button>
834834
<slider x="39" step="1.0" y="78" max="5.0" width="150" display="step-size" height="50" min="1.0" direction="Horizontal" default="2.0" variable="step-size"></slider>
835-
<monitor x="70" precision="0" y="21" height="49" fontSize="11" width="87" display="location"></monitor>
835+
<monitor x="70" precision="0" y="21" height="49" fontSize="11" display="location" width="87" sizeVersion="0"></monitor>
836836
</hubNetClient>
837837
<previewCommands>need-to-manually-make-preview-for-this-model</previewCommands>
838838
</model>

HubNet Activities/Code Examples/Template HubNet.nlogox

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -888,7 +888,7 @@ To start the activity press the GO button. Ask students to login using the HubN
888888
<button x="147" actionKey="L" y="171" height="33" disableUntilTicks="false" forever="false" kind="Observer" width="63" display="right"></button>
889889
<button x="23" actionKey="J" y="171" height="33" disableUntilTicks="false" forever="false" kind="Observer" width="62" display="left"></button>
890890
<slider x="39" step="1.0" y="78" max="5.0" width="150" display="step-size" height="50" min="1.0" direction="Horizontal" default="2.0" variable="step-size"></slider>
891-
<monitor x="70" precision="0" y="21" height="49" fontSize="11" width="87" display="location"></monitor>
891+
<monitor x="70" precision="0" y="21" height="49" fontSize="11" display="location" width="87" sizeVersion="0"></monitor>
892892
</hubNetClient>
893893
<previewCommands>need-to-manually-make-preview-for-this-model</previewCommands>
894894
</model>

HubNet Activities/Dice Stalagmite HubNet.nlogox

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1220,7 +1220,7 @@ This activity and associated models and materials were created as part of the pr
12201220
<choice type="double" value="6.0"></choice>
12211221
</chooser>
12221222
<button x="95" y="128" height="33" disableUntilTicks="false" forever="false" kind="Observer" width="69" display="Submit"></button>
1223-
<monitor x="0" precision="0" y="10" height="49" fontSize="11" width="263" display="Message:"></monitor>
1223+
<monitor x="0" precision="0" y="10" height="49" fontSize="11" display="Message:" width="263" sizeVersion="0"></monitor>
12241224
</hubNetClient>
12251225
<previewCommands>need-to-manually-make-preview-for-this-model</previewCommands>
12261226
</model>

HubNet Activities/Disease Doctors HubNet.nlogox

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1912,13 +1912,13 @@ To inquire about commercial licenses for either NetLogo or specific models from
19121912
<view x="252" wrappingAllowedX="false" y="10" frameRate="30.0" minPycor="-10" height="420" showTickCounter="true" patchSize="20.0" fontSize="13" wrappingAllowedY="false" width="420" tickCounterLabel="ticks" maxPycor="10" updateMode="1" maxPxcor="10" minPxcor="-10"></view>
19131913
<button x="91" actionKey="K" y="223" height="33" disableUntilTicks="false" forever="false" kind="Observer" width="62" display="Down"></button>
19141914
<slider x="3" step="1.0" y="102" max="5.0" width="150" display="step-size" height="50" min="1.0" direction="Horizontal" default="1.0" variable="step-size"></slider>
1915-
<monitor x="3" precision="3" y="10" height="49" fontSize="11" width="150" display="You are a:"></monitor>
1915+
<monitor x="3" precision="3" y="10" height="49" fontSize="11" display="You are a:" width="150" sizeVersion="0"></monitor>
19161916
<button x="3" y="64" height="33" disableUntilTicks="false" forever="false" kind="Observer" width="150" display="Change Appearance"></button>
19171917
<button x="91" actionKey="I" y="157" height="33" disableUntilTicks="false" forever="false" kind="Observer" width="62" display="Up"></button>
19181918
<button x="29" actionKey="J" y="190" height="33" disableUntilTicks="false" forever="false" kind="Observer" width="62" display="Left"></button>
19191919
<button x="153" actionKey="L" y="190" height="33" disableUntilTicks="false" forever="false" kind="Observer" width="62" display="Right"></button>
1920-
<monitor x="156" precision="3" y="64" height="49" fontSize="11" width="87" display="Sick?"></monitor>
1921-
<monitor x="156" precision="3" y="10" height="49" fontSize="11" width="87" display="Located at:"></monitor>
1920+
<monitor x="156" precision="3" y="64" height="49" fontSize="11" display="Sick?" width="87" sizeVersion="0"></monitor>
1921+
<monitor x="156" precision="3" y="10" height="49" fontSize="11" display="Located at:" width="87" sizeVersion="0"></monitor>
19221922
</hubNetClient>
19231923
<previewCommands>need-to-manually-make-preview-for-this-model</previewCommands>
19241924
</model>

HubNet Activities/Disease HubNet.nlogox

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1861,13 +1861,13 @@ This activity and associated models and materials were created as part of the pr
18611861
<view x="252" wrappingAllowedX="false" y="10" frameRate="30.0" minPycor="-10" height="420" showTickCounter="true" patchSize="20.0" fontSize="13" wrappingAllowedY="false" width="420" tickCounterLabel="ticks" maxPycor="10" updateMode="1" maxPxcor="10" minPxcor="-10"></view>
18621862
<button x="91" actionKey="K" y="223" height="33" disableUntilTicks="false" forever="false" kind="Observer" width="62" display="Down"></button>
18631863
<slider x="3" step="1.0" y="102" max="5.0" width="150" display="step-size" height="50" min="1.0" direction="Horizontal" default="1.0" variable="step-size"></slider>
1864-
<monitor x="3" precision="3" y="10" height="49" fontSize="11" width="150" display="You are a:"></monitor>
1864+
<monitor x="3" precision="3" y="10" height="49" fontSize="11" display="You are a:" width="150" sizeVersion="0"></monitor>
18651865
<button x="3" y="64" height="33" disableUntilTicks="false" forever="false" kind="Observer" width="150" display="Change Appearance"></button>
18661866
<button x="91" actionKey="I" y="157" height="33" disableUntilTicks="false" forever="false" kind="Observer" width="62" display="Up"></button>
18671867
<button x="29" actionKey="J" y="190" height="33" disableUntilTicks="false" forever="false" kind="Observer" width="62" display="Left"></button>
18681868
<button x="153" actionKey="L" y="190" height="33" disableUntilTicks="false" forever="false" kind="Observer" width="62" display="Right"></button>
1869-
<monitor x="156" precision="3" y="64" height="49" fontSize="11" width="87" display="Sick?"></monitor>
1870-
<monitor x="156" precision="3" y="10" height="49" fontSize="11" width="87" display="Located at:"></monitor>
1869+
<monitor x="156" precision="3" y="64" height="49" fontSize="11" display="Sick?" width="87" sizeVersion="0"></monitor>
1870+
<monitor x="156" precision="3" y="10" height="49" fontSize="11" display="Located at:" width="87" sizeVersion="0"></monitor>
18711871
</hubNetClient>
18721872
<previewCommands>need-to-manually-make-preview-for-this-model</previewCommands>
18731873
</model>

HubNet Activities/Gridlock HubNet.nlogox

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1481,7 +1481,7 @@ This activity and associated models and materials were created as part of the pr
14811481
<button x="162" actionKey="C" y="68" height="33" disableUntilTicks="false" forever="false" kind="Observer" width="124" display="Change Light"></button>
14821482
<slider x="162" step="1.0" y="106" max="99.0" width="150" display="Phase" height="50" min="0.0" direction="Horizontal" default="0.0" variable="Phase"></slider>
14831483
<note x="12" y="10" backgroundDark="0" fontSize="11" width="142" markdown="false" height="165" textColorDark="-1" textColorLight="-16777216" backgroundLight="0">Affect the state of your light by pressing the Change Light button, or changing the value of the Phase slider. The Phase slider controls the point in the cycle at which your light with change, and represents a percentage of the total cycle time.</note>
1484-
<monitor x="173" precision="3" y="10" height="49" fontSize="11" width="113" display="Located At:"></monitor>
1484+
<monitor x="173" precision="3" y="10" height="49" fontSize="11" display="Located At:" width="113" sizeVersion="0"></monitor>
14851485
</hubNetClient>
14861486
<previewCommands>startup</previewCommands>
14871487
</model>

HubNet Activities/Memory HubNet.nlogox

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2360,14 +2360,14 @@ To inquire about commercial licenses for either NetLogo or specific models from
23602360
</shape>
23612361
</linkShapes>
23622362
<hubNetClient>
2363-
<monitor x="133" precision="0" y="15" height="49" fontSize="11" width="107" display="Cards remaining"></monitor>
2364-
<monitor x="35" precision="0" y="124" height="49" fontSize="11" width="107" display="Your matches"></monitor>
2365-
<monitor x="143" precision="1" y="149" height="49" fontSize="11" width="106" display="Success %"></monitor>
2366-
<monitor x="25" precision="3" y="15" height="49" fontSize="11" width="107" display="Whose turn?"></monitor>
2367-
<monitor x="15" precision="3" y="241" height="49" fontSize="11" width="125" display="Leader"></monitor>
2368-
<monitor x="141" precision="0" y="241" height="49" fontSize="11" width="125" display="Leader's matches"></monitor>
2369-
<monitor x="82" precision="0" y="74" height="49" fontSize="11" width="107" display="Your name"></monitor>
2370-
<monitor x="35" precision="0" y="174" height="49" fontSize="11" width="107" display="Your turns"></monitor>
2363+
<monitor x="133" precision="0" y="15" height="49" fontSize="11" display="Cards remaining" width="107" sizeVersion="0"></monitor>
2364+
<monitor x="35" precision="0" y="124" height="49" fontSize="11" display="Your matches" width="107" sizeVersion="0"></monitor>
2365+
<monitor x="143" precision="1" y="149" height="49" fontSize="11" display="Success %" width="106" sizeVersion="0"></monitor>
2366+
<monitor x="25" precision="3" y="15" height="49" fontSize="11" display="Whose turn?" width="107" sizeVersion="0"></monitor>
2367+
<monitor x="15" precision="3" y="241" height="49" fontSize="11" display="Leader" width="125" sizeVersion="0"></monitor>
2368+
<monitor x="141" precision="0" y="241" height="49" fontSize="11" display="Leader's matches" width="125" sizeVersion="0"></monitor>
2369+
<monitor x="82" precision="0" y="74" height="49" fontSize="11" display="Your name" width="107" sizeVersion="0"></monitor>
2370+
<monitor x="35" precision="0" y="174" height="49" fontSize="11" display="Your turns" width="107" sizeVersion="0"></monitor>
23712371
<view x="269" wrappingAllowedX="true" y="13" frameRate="30.0" minPycor="0" height="368" showTickCounter="true" patchSize="46.0" fontSize="13" wrappingAllowedY="true" width="598" tickCounterLabel="ticks" maxPycor="7" updateMode="1" maxPxcor="12" minPxcor="0"></view>
23722372
</hubNetClient>
23732373
<previewCommands>need-to-manually-make-preview-for-this-model</previewCommands>

HubNet Activities/Minority Game HubNet.nlogox

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1999,13 +1999,13 @@ This activity and associated models and materials were created as part of the pr
19991999
<hubNetClient>
20002000
<view x="328" wrappingAllowedX="false" y="10" frameRate="30.0" minPycor="-17" height="378" showTickCounter="true" patchSize="15.0" fontSize="13" wrappingAllowedY="false" width="378" tickCounterLabel="ticks" maxPycor="17" updateMode="1" maxPxcor="17" minPxcor="-17"></view>
20012001
<button x="74" y="234" height="33" disableUntilTicks="false" forever="false" kind="Observer" width="81" display="0"></button>
2002-
<monitor x="38" precision="3" y="22" height="49" fontSize="11" width="238" display="You are a:"></monitor>
2003-
<monitor x="117" precision="3" y="179" height="49" fontSize="11" width="187" display="chosen-sides?"></monitor>
2004-
<monitor x="117" precision="3" y="127" height="49" fontSize="11" width="188" display="history"></monitor>
2005-
<monitor x="52" precision="3" y="74" height="49" fontSize="11" width="99" display="score"></monitor>
2006-
<monitor x="154" precision="3" y="74" height="49" fontSize="11" width="100" display="success rate"></monitor>
2007-
<monitor x="7" precision="3" y="127" height="49" fontSize="11" width="107" display="last choice"></monitor>
2008-
<monitor x="7" precision="3" y="179" height="49" fontSize="11" width="107" display="current choice"></monitor>
2002+
<monitor x="38" precision="3" y="22" height="49" fontSize="11" display="You are a:" width="238" sizeVersion="0"></monitor>
2003+
<monitor x="117" precision="3" y="179" height="49" fontSize="11" display="chosen-sides?" width="187" sizeVersion="0"></monitor>
2004+
<monitor x="117" precision="3" y="127" height="49" fontSize="11" display="history" width="188" sizeVersion="0"></monitor>
2005+
<monitor x="52" precision="3" y="74" height="49" fontSize="11" display="score" width="99" sizeVersion="0"></monitor>
2006+
<monitor x="154" precision="3" y="74" height="49" fontSize="11" display="success rate" width="100" sizeVersion="0"></monitor>
2007+
<monitor x="7" precision="3" y="127" height="49" fontSize="11" display="last choice" width="107" sizeVersion="0"></monitor>
2008+
<monitor x="7" precision="3" y="179" height="49" fontSize="11" display="current choice" width="107" sizeVersion="0"></monitor>
20092009
<button x="158" y="234" height="33" disableUntilTicks="false" forever="false" kind="Observer" width="81" display="1"></button>
20102010
</hubNetClient>
20112011
<previewCommands>need-to-manually-make-preview-for-this-model</previewCommands>

HubNet Activities/Polling HubNet.nlogox

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1199,8 +1199,8 @@ This activity and associated models and materials were created as part of the pr
11991199
<hubNetClient>
12001200
<button x="76" y="144" height="33" disableUntilTicks="false" forever="false" kind="Observer" width="127" display="Choose"></button>
12011201
<slider x="53" step="1.0" y="89" max="9.0" width="290" display="Choice" height="50" min="0.0" direction="Horizontal" default="0.0" variable="Choice"></slider>
1202-
<monitor x="4" precision="3" y="35" height="49" fontSize="11" width="385" display="Current Question"></monitor>
1203-
<monitor x="209" precision="3" y="144" height="49" fontSize="11" width="109" display="Current Choice"></monitor>
1202+
<monitor x="4" precision="3" y="35" height="49" fontSize="11" display="Current Question" width="385" sizeVersion="0"></monitor>
1203+
<monitor x="209" precision="3" y="144" height="49" fontSize="11" display="Current Choice" width="109" sizeVersion="0"></monitor>
12041204
</hubNetClient>
12051205
<previewCommands>need-to-manually-make-preview-for-this-model</previewCommands>
12061206
</model>

0 commit comments

Comments
 (0)