@@ -593,7 +593,7 @@ define([
593
593
var content = new com_String ( ) ;
594
594
content . appendFormatLine ( '<div class="{0}">' , 'vp-inner-popup-addpage' ) ;
595
595
content . appendLine ( '<div>' ) ;
596
- content . appendLine ( '<table><colgroup><col width="80px"><col width="*"></colgroup>' ) ;
596
+ content . appendLine ( '<table class="vp-tbl-gap5" ><colgroup><col width="80px"><col width="*"></colgroup>' ) ;
597
597
content . appendFormatLine ( '<tr><th class="{0}">{1}</th>' , 'vp-orange-text' , targetLabel ) ;
598
598
var target = '' ;
599
599
if ( type == 'replace' ) {
@@ -617,7 +617,7 @@ define([
617
617
618
618
// tab 1. value
619
619
content . appendFormatLine ( '<div class="{0} {1}">' , 'vp-inner-popup-tab' , 'value' ) ;
620
- content . appendLine ( '<table><colgroup><col width="80px"><col width="*"></colgroup><tr>' ) ;
620
+ content . appendLine ( '<table class="vp-tbl-gap5" ><colgroup><col width="80px"><col width="*"></colgroup><tr>' ) ;
621
621
content . appendLine ( '<th><label>Value</label></th>' ) ;
622
622
content . appendFormatLine ( '<td><input type="text" class="{0}"/>' , 'vp-inner-popup-input2' ) ;
623
623
content . appendFormatLine ( '<label><input type="checkbox" class="{0}" checked/><span>{1}</span></label>' , 'vp-inner-popup-istext2' , 'Text' ) ;
@@ -626,16 +626,16 @@ define([
626
626
627
627
// tab 2. calculation
628
628
content . appendFormatLine ( '<div class="{0} {1}" style="display: none;">' , 'vp-inner-popup-tab' , 'calculation' ) ;
629
- content . appendLine ( '<table><colgroup><col width="80px"><col width="*"></colgroup>' ) ;
629
+ content . appendLine ( '<table class="vp-tbl-gap5" ><colgroup><col width="80px"><col width="*"></colgroup>' ) ;
630
630
// calc - variable 1
631
631
content . appendLine ( '<tr>' ) ;
632
632
content . appendLine ( '<th><label>Variable 1</label></th>' ) ;
633
633
var dataTypes = [ 'DataFrame' , 'Series' , 'nparray' , 'list' , 'str' ] ;
634
634
var varSelector1 = new VarSelector ( dataTypes , 'DataFrame' , true , true ) ;
635
- varSelector1 . addBoxClass ( 'vp-inner-popup-var1box' ) ;
635
+ varSelector1 . addBoxClass ( 'vp-inner-popup-var1box mb5 ' ) ;
636
636
varSelector1 . addClass ( 'vp-inner-popup-var1' ) ;
637
- content . appendFormatLine ( '<td>{0}</td> ' , varSelector1 . render ( ) ) ;
638
- content . appendFormatLine ( '<td>< select class="{0}"></select></td>' , 'vp-inner-popup-var1col' ) ;
637
+ content . appendFormatLine ( '<td>{0}' , varSelector1 . render ( ) ) ;
638
+ content . appendFormatLine ( '<select class="{0}"></select></td>' , 'vp-inner-popup-var1col' ) ;
639
639
content . appendLine ( '</tr>' ) ;
640
640
// calc -operator
641
641
content . appendLine ( '<tr>' ) ;
@@ -651,10 +651,10 @@ define([
651
651
content . appendLine ( '<tr>' ) ;
652
652
content . appendLine ( '<th><label>Variable 2</label></th>' ) ;
653
653
var varSelector2 = new VarSelector ( dataTypes , 'DataFrame' , true , true ) ;
654
- varSelector2 . addBoxClass ( 'vp-inner-popup-var2box' ) ;
654
+ varSelector2 . addBoxClass ( 'vp-inner-popup-var2box mb5 ' ) ;
655
655
varSelector2 . addClass ( 'vp-inner-popup-var2' ) ;
656
- content . appendFormatLine ( '<td>{0}</td> ' , varSelector2 . render ( ) ) ;
657
- content . appendFormatLine ( '<td>< select class="{0}"></select></td>' , 'vp-inner-popup-var2col' ) ;
656
+ content . appendFormatLine ( '<td>{0}' , varSelector2 . render ( ) ) ;
657
+ content . appendFormatLine ( '<select class="{0}"></select></td>' , 'vp-inner-popup-var2col' ) ;
658
658
content . appendLine ( '</tr>' ) ;
659
659
content . appendLine ( '</table>' ) ;
660
660
content . appendLine ( '</div>' ) ; // end of vp-inner-popup-tab calculation
@@ -666,7 +666,7 @@ define([
666
666
667
667
// tab 4. apply
668
668
content . appendFormatLine ( '<div class="{0} {1}" style="display: none;">' , 'vp-inner-popup-tab' , 'apply' ) ;
669
- content . appendLine ( '<table><colgroup><col width="80px"><col width="*"></colgroup>' ) ;
669
+ content . appendLine ( '<table class="vp-tbl-gap5" ><colgroup><col width="80px"><col width="*"></colgroup>' ) ;
670
670
content . appendLine ( '<tr><th><label>column</label></th>' ) ;
671
671
content . appendFormatLine ( '<td>{0}</td></tr>' , this . renderColumnList ( this . state . columnList ) ) ;
672
672
content . appendLine ( '<tr><th><label>function</label></th>' ) ;
@@ -760,7 +760,7 @@ define([
760
760
return content . toString ( ) ;
761
761
}
762
762
763
- openInputPopup = function ( type , width = 400 , height = 300 ) {
763
+ openInputPopup = function ( type , width = 400 , height = 400 ) {
764
764
var title = '' ;
765
765
var content = '' ;
766
766
let size = { width : width , height : height } ;
0 commit comments