125 - 25man Vertical Layout
What is the enhancement in mind? How should it look and feel?
Extra 25man Vertical Layout
Please provide any additional information below.
This is the code for a 25man vertical layout, would be nice to have it integrated with the other default layouts.
GridLayout:AddLayout("25 Single Col", { [1] = { groupFilter = "1,2,3,4,5,DEATHKNIGHT,WARRIOR,DRUID,WARLOCK,MAGE,ROGUE,PRIEST,SHAMAN,PALADIN,HUNTER", maxColumns = "1", maxUnitsPerColumn = "25", strictFiltering = true, groupBy = "GROUP", groupingOrder = "1,2,3,4,5,DEATHKNIGHT,WARRIOR,DRUID,WARLOCK,MAGE,ROGUE,PRIEST,SHAMAN,PALADIN,HUNTER", }, })
- 1 comment
- 1 comment
Facts
- Last updated
- May 28, 2009
- Reported
- May 12, 2009
- Status
- Declined - We decided not to take action on this ticket.
- Type
- Enhancement - A change which is intended to better the project in some way
- Priority
- Medium - Normal priority.
- Votes
- 0
- Reply
- #1
Phanx May 28, 2009 at 01:43 UTC - 0 likesYou can easily add layouts from an external addon. A single-column layout like the one you describe would simply not work with the default design of Grid (a grid of squares), and would require users to make additional changes to the frame height and width settings before the layout was usable. Therefore, it does not really belong in the default distribution.
To add your layout(s) from an external addon, create a folder in your AddOns folder named "GridLayouts". Inside that folder, create two files:
GridLayouts.toc
GridLayouts.lua
-- Paste your layout here