Skip to content

Commit 579d58b

Browse files
authored
Expand width of tree and ascendancy dropdowns (#8506)
1 parent 4c16f49 commit 579d58b

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

src/Classes/TreeTab.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ local TreeTabClass = newClass("TreeTab", "ControlHost", function(self, build)
158158
self.controls.versionSelect.maxDroppedWidth = 1000
159159
self.controls.versionSelect.enableDroppedWidth = true
160160
self.controls.versionSelect.enableChangeBoxWidth = true
161+
self.controls.versionSelect:CheckDroppedWidth(true)
161162
self.controls.versionSelect.selIndex = #self.treeVersions
162163

163164
-- Tree Search Textbox

src/Modules/Build.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1066,6 +1066,7 @@ function buildMode:OnFrame(inputEvents)
10661066
self.controls.classDrop:SelByValue(self.spec.curClassId, "classId")
10671067
self.controls.ascendDrop.list = self.controls.classDrop:GetSelValueByKey("ascendancies")
10681068
self.controls.ascendDrop:SelByValue(self.spec.curAscendClassId, "ascendClassId")
1069+
self.controls.ascendDrop:CheckDroppedWidth(true)
10691070
-- // secondaryAscend dropdown hidden away until we learn more
10701071
--self.controls.secondaryAscendDrop.list = {{label = "None", ascendClassId = 0}, {label = "Warden", ascendClassId = 1}, {label = "Warlock", ascendClassId = 2}, {label = "Primalist", ascendClassId = 3}}
10711072
--self.controls.secondaryAscendDrop:SelByValue(self.spec.curSecondaryAscendClassId, "ascendClassId")

0 commit comments

Comments
 (0)