fa48f53c418532878d233ce6f8539dcbbb0bc0bf bwick Fri May 23 11:05:41 2025 -0700 Added margin to 'Apply' button in 'Layout' tab. diff --git src/cbPyLib/cellbrowser/cbWeb/js/cellBrowser.js src/cbPyLib/cellbrowser/cbWeb/js/cellBrowser.js index beb4fe0..e0b9965 100644 --- src/cbPyLib/cellbrowser/cbWeb/js/cellBrowser.js +++ src/cbPyLib/cellbrowser/cbWeb/js/cellBrowser.js @@ -5472,31 +5472,31 @@ } buildComboBox(htmls, id, entries, 0, "Select a layout algorithm...", "100%"); htmls.push('</div>'); htmls.push('<form id="radiusAlphaForm">'); htmls.push('<div class="tpLeftSideItem">'); htmls.push('<label for="tpSizeInput">Circle size factor (1-7)</label>'); htmls.push(' <input id="tpSizeInput" type="text" size="6"></input>'); htmls.push('</div>'); // tpLeftSideItem htmls.push('<div class="tpLeftSideItem">'); htmls.push('<label for="tpAlphaInput">Transparency factor (1-7)</label>'); htmls.push(' <input id="tpAlphaInput" type="text" size="6"></input>'); htmls.push('</div>'); // tpLeftSideItem - htmls.push('<input type="submit" value="Apply" style="float:right" id="tpSetRadiusAlphaButton"></input><br>'); + htmls.push('<input type="submit" value="Apply" style="float: right; margin-right:4px" id="tpSetRadiusAlphaButton"></input><br>'); htmls.push('<small>You can also change size and transparency with the sliders at the bottom right of the image</small>'); htmls.push('</form>'); } function buildCollectionCombo(htmls, id, width, left, top) { /* build combobox with shortLabels of all datasets that are part of same collection */ //htmls.push('<div class="tpToolBarItem" style="position:absolute;width:'+width+'px;left:'+left+'px;top:'+top+'px"><label for="'+id+'">Jump to...</label>'); htmls.push('<div class="tpToolBarItem" style="position:relative;top:3px; margin-left:10px;width:'+width+'px;top:'+top+'px"><label for="'+id+'">Jump to...</label>'); var entries = []; //var linkedDatasets = parentConf.datasets; //for (var i = 0; i < linkedDatasets.length; i++) { //var dsInfo = linkedDatasets[i]; //entries.push( [i, dsInfo.shortLabel] ); //}