@@ -344,6 +344,7 @@ function CompareTabClass:InitControls()
344344 -- ============================================================
345345 self .controls .cmpSkillLabel = new (" LabelControl" , {" TOPLEFT" , self .controls .subTabAnchor , " TOPLEFT" }, {0 , - 32 , 0 , 16 }, " ^7Skill:" )
346346 self .controls .cmpSkillLabel .shown = setsEnabled
347+ self .controls .cmpSkillLabel .anchor .collapse = true
347348
348349 -- Socket group dropdown
349350 self .controls .cmpSocketGroup = new (" DropDownControl" , {" LEFT" , self .controls .cmpSkillLabel , " RIGHT" }, {4 , 0 , 200 , 20 }, {}, function (index , value )
@@ -355,6 +356,7 @@ function CompareTabClass:InitControls()
355356 self .controls .cmpSocketGroup .shown = setsEnabled
356357 self .controls .cmpSocketGroup .maxDroppedWidth = 500
357358 self .controls .cmpSocketGroup .enableDroppedWidth = true
359+ self .controls .cmpSocketGroup .anchor .collapse = true
358360
359361 -- Active skill within group
360362 self .controls .cmpMainSkill = new (" DropDownControl" , {" LEFT" , self .controls .cmpSocketGroup , " RIGHT" }, {4 , 0 , 225 , 20 }, {}, function (index , value )
@@ -368,6 +370,7 @@ function CompareTabClass:InitControls()
368370 end
369371 end )
370372 self .controls .cmpMainSkill .shown = false
373+ self .controls .cmpMainSkill .anchor .collapse = true
371374
372375 -- Skill part (multi-part skills)
373376 self .controls .cmpSkillPart = new (" DropDownControl" , {" LEFT" , self .controls .cmpMainSkill , " RIGHT" }, {4 , 0 , 200 , 20 }, {}, function (index , value )
@@ -385,10 +388,12 @@ function CompareTabClass:InitControls()
385388 end
386389 end )
387390 self .controls .cmpSkillPart .shown = false
391+ self .controls .cmpSkillPart .anchor .collapse = true
388392
389393 -- Stage count
390394 self .controls .cmpStageCountLabel = new (" LabelControl" , {" LEFT" , self .controls .cmpSkillPart , " RIGHT" }, {6 , 0 , 0 , 16 }, " ^7Stages:" )
391395 self .controls .cmpStageCountLabel .shown = function () return self .controls .cmpStageCount .shown end
396+ self .controls .cmpStageCountLabel .anchor .collapse = true
392397 self .controls .cmpStageCount = new (" EditControl" , {" LEFT" , self .controls .cmpStageCountLabel , " RIGHT" }, {4 , 0 , 52 , 20 }, " " , nil , " %D" , 5 , function (buf )
393398 local entry = self :GetActiveCompare ()
394399 if entry then
@@ -404,10 +409,12 @@ function CompareTabClass:InitControls()
404409 end
405410 end )
406411 self .controls .cmpStageCount .shown = false
412+ self .controls .cmpStageCount .anchor .collapse = true
407413
408414 -- Mine count
409415 self .controls .cmpMineCountLabel = new (" LabelControl" , {" LEFT" , self .controls .cmpStageCount , " RIGHT" }, {6 , 0 , 0 , 16 }, " ^7Mines:" )
410416 self .controls .cmpMineCountLabel .shown = function () return self .controls .cmpMineCount .shown end
417+ self .controls .cmpMineCountLabel .anchor .collapse = true
411418 self .controls .cmpMineCount = new (" EditControl" , {" LEFT" , self .controls .cmpMineCountLabel , " RIGHT" }, {4 , 0 , 52 , 20 }, " " , nil , " %D" , 5 , function (buf )
412419 local entry = self :GetActiveCompare ()
413420 if entry then
@@ -423,6 +430,7 @@ function CompareTabClass:InitControls()
423430 end
424431 end )
425432 self .controls .cmpMineCount .shown = false
433+ self .controls .cmpMineCount .anchor .collapse = true
426434
427435 -- Minion selector
428436 self .controls .cmpMinion = new (" DropDownControl" , {" LEFT" , self .controls .cmpMineCount , " RIGHT" }, {6 , 0 , 140 , 20 }, {}, function (index , value )
@@ -447,6 +455,7 @@ function CompareTabClass:InitControls()
447455 end
448456 end )
449457 self .controls .cmpMinion .shown = false
458+ self .controls .cmpMinion .anchor .collapse = true
450459
451460 -- Minion skill selector
452461 self .controls .cmpMinionSkill = new (" DropDownControl" , {" LEFT" , self .controls .cmpMinion , " RIGHT" }, {4 , 0 , 140 , 20 }, {}, function (index , value )
@@ -464,6 +473,7 @@ function CompareTabClass:InitControls()
464473 end
465474 end )
466475 self .controls .cmpMinionSkill .shown = false
476+ self .controls .cmpMinionSkill .anchor .collapse = true
467477
468478 -- ============================================================
469479 -- Calcs view skill detail controls (per-build, independent of sidebar & regular Calcs tab)
0 commit comments