@@ -360,70 +360,81 @@ const PaiBox = (props, context) => {
360360 case "remote signaller" :
361361 return (
362362 < Section title = { modules_tabs [ selectedMainTab ] . title } >
363- < Stack vertical >
364- < Stack . Item >
365- Frequency:
366- < NumberInput
367- animate
368- unit = "kHz"
369- step = { 0.2 }
370- stepPixelSize = { 6 }
371- minValue = { minFrequency / 10 }
372- maxValue = { maxFrequency / 10 }
373- value = { frequency / 10 }
374- format = { value => toFixed ( value , 1 ) }
375- width = "80px"
376- onDrag = { ( e , value ) => act ( 'signallerfreq' , {
377- freq : value ,
378- } ) } />
379- < Button
380- ml = { 1.3 }
381- icon = "sync"
382- content = "Reset"
383- onClick = { ( ) => act ( "signallerreset" , {
384- reset : "freq" ,
385- } ) } />
386- </ Stack . Item >
387- < Stack . Item >
388- Code:
389- < NumberInput
390- animate
391- step = { 1 }
392- stepPixelSize = { 6 }
393- minValue = { 1 }
394- maxValue = { 100 }
395- value = { code }
396- width = "80px"
397- onDrag = { ( e , value ) => act ( "signallercode" , {
398- code : value ,
399- } ) } />
400- < Button
401- ml = { 1.1 }
402- icon = "sync"
403- content = "Reset"
404- onClick = { ( ) => act ( "signallerreset" , {
405- reset : "code" ,
406- } ) } />
407- </ Stack . Item >
408- < Stack . Item >
409- Color:
410- < Button
411- ml = { 5.2 }
412- icon = "sync"
413- width = { 13.1 }
414- color = { color }
415- content = { color }
416- onClick = { ( ) => act ( "signallercolor" ) } />
417- </ Stack . Item >
418- < Stack . Item >
419- < Button
363+ < Table >
364+ < Table . Row >
365+ < Table . Cell >
366+ Frequency:
367+ </ Table . Cell >
368+ < Table . Cell >
369+ < NumberInput
370+ animate
371+ unit = "kHz"
372+ step = { 0.2 }
373+ stepPixelSize = { 6 }
374+ minValue = { minFrequency / 10 }
375+ maxValue = { maxFrequency / 10 }
376+ value = { frequency / 10 }
377+ format = { value => toFixed ( value , 1 ) }
378+ width = "80px"
379+ onDrag = { ( e , value ) => act ( 'signallerfreq' , {
380+ freq : value ,
381+ } ) } />
382+ </ Table . Cell >
383+ < Table . Cell >
384+ < Button
385+ icon = "sync"
386+ content = "Reset"
387+ onClick = { ( ) => act ( "signallerreset" , {
388+ reset : "freq" ,
389+ } ) } />
390+ </ Table . Cell >
391+ </ Table . Row >
392+ < Table . Row >
393+ < Table . Cell >
394+ Code:
395+ </ Table . Cell >
396+ < Table . Cell >
397+ < NumberInput
398+ animate
399+ step = { 1 }
400+ stepPixelSize = { 6 }
401+ minValue = { 1 }
402+ maxValue = { 100 }
403+ value = { code }
404+ width = "80px"
405+ onDrag = { ( e , value ) => act ( "signallercode" , {
406+ code : value ,
407+ } ) } />
408+ </ Table . Cell >
409+ < Table . Cell >
410+ < Button
411+ icon = "sync"
412+ content = "Reset"
413+ onClick = { ( ) => act ( "signallerreset" , {
414+ reset : "code" ,
415+ } ) } />
416+ </ Table . Cell >
417+ </ Table . Row >
418+ < Table . Row >
419+ < Table . Cell >
420+ Color:
421+ </ Table . Cell >
422+ < Table . Cell >
423+ < Button
424+ icon = "sync"
425+ width = { 13.1 }
426+ color = { color }
427+ content = { color }
428+ onClick = { ( ) => act ( "signallercolor" ) } />
429+ </ Table . Cell >
430+ </ Table . Row >
431+ </ Table >
432+ < Button
420433 mb = { - 0.1 }
421434 icon = "arrow-up"
422435 content = "Send Signal"
423436 textAlign = "center"
424437 onClick = { ( ) => act ( "signallersignal" ) } />
425- </ Stack . Item >
426- </ Stack >
427438 </ Section >
428439 ) ;
429440 case "medical records" :
0 commit comments