Skip to content

Commit

Permalink
Expand width of tree and ascendancy dropdowns
Browse files Browse the repository at this point in the history
  • Loading branch information
Wires77 committed Feb 20, 2025
1 parent b1f6999 commit ad78243
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Classes/TreeTab.lua
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ local TreeTabClass = newClass("TreeTab", "ControlHost", function(self, build)
self.controls.versionSelect.maxDroppedWidth = 1000
self.controls.versionSelect.enableDroppedWidth = true
self.controls.versionSelect.enableChangeBoxWidth = true
self.controls.versionSelect:CheckDroppedWidth(true)
self.controls.versionSelect.selIndex = #self.treeVersions

-- Tree Search Textbox
Expand Down
1 change: 1 addition & 0 deletions src/Modules/Build.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1066,6 +1066,7 @@ function buildMode:OnFrame(inputEvents)
self.controls.classDrop:SelByValue(self.spec.curClassId, "classId")
self.controls.ascendDrop.list = self.controls.classDrop:GetSelValueByKey("ascendancies")
self.controls.ascendDrop:SelByValue(self.spec.curAscendClassId, "ascendClassId")
self.controls.ascendDrop:CheckDroppedWidth(true)
-- // secondaryAscend dropdown hidden away until we learn more
--self.controls.secondaryAscendDrop.list = {{label = "None", ascendClassId = 0}, {label = "Warden", ascendClassId = 1}, {label = "Warlock", ascendClassId = 2}, {label = "Primalist", ascendClassId = 3}}
--self.controls.secondaryAscendDrop:SelByValue(self.spec.curSecondaryAscendClassId, "ascendClassId")
Expand Down

0 comments on commit ad78243

Please sign in to comment.