Closed jbadham closed 10 years ago
created 2 tabs - comms is grey background and t1 is white
to setup-interface xw:clear-all ;--- Communication plan xw:create-tab "comms" [ xw:set-order 1 xw:set-title "Communications Plan" ] xw:create-slider "tcommsl-rate" [ xw:set-label "Travel rate" xw:set-y 70 xw:set-increment 0.05 xw:set-maximum 0.5 ] ;--- Scenario Context ;--- Advanced Parameters xw:create-tab "t1" [ xw:set-order 2 xw:set-title "Advanced parameters" ]
This was due to the xw:ask remove "T1" xw:widgets [ xw:set-color white - 1] line at the end of the setup-interface procedure. The white - 1 just made the background of the tab look unexpectedly gray.
xw:ask remove "T1" xw:widgets [ xw:set-color white - 1]
setup-interface
white - 1
created 2 tabs - comms is grey background and t1 is white