Skip to content

Commit

Permalink
making layout box wider, github maximilianh#214
Browse files Browse the repository at this point in the history
  • Loading branch information
maximilianh committed Apr 19, 2021
1 parent 3e1d86e commit b3fee52
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/cbPyLib/cellbrowser/cbWeb/js/cellBrowser.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ var cellbrowser = function() {
var toolBarComboTop = 2;
// width of the collection combobox
var collectionComboWidth = 200;
var layoutComboWidth = 150;
var layoutComboWidth = 200;
// width of a single gene cell in the meta gene bar tables
var gGeneCellWidth = 66;

Expand Down Expand Up @@ -5051,8 +5051,11 @@ var cellbrowser = function() {
nextLeft += 80;
}

buildLayoutCombo(dataset.coordLabel, htmls, coordInfo, "tpLayoutCombo", 300, nextLeft, 2);
nextLeft += 215;
if (coordInfo[coordInfo.length-1].shortLabel.length > 20)
//$('.chosen-drop').css({"width": "300px"});
layoutComboWidth += 50
buildLayoutCombo(dataset.coordLabel, htmls, coordInfo, "tpLayoutCombo", layoutComboWidth, nextLeft, 2);
nextLeft += 65+layoutComboWidth;

var nameParts = dataset.name.split("/");
var parentName = null;
Expand Down

0 comments on commit b3fee52

Please sign in to comment.