This add-on will keep your UI in place and size, no matter what.
Currently supported for custom positioning:
base UI:
Chat (resize and/or in background)
SettingsMenu (always on top with chat in background)
AchievementTracker
WykkydsToolbar
AUI (minimap and attribute bars)
DailyAutoshare
SwitchBar
Ravalox'QuestTracker
LootDrop
DailyAutoshare
Mer Torchbug
Extra features:
Can put chat in background
Can make sure Mer Torchbug stays clampedToScreen and/or in the backgroundmost layer
If you want to add own controls to this, please do the following (it's simple):
In NailDownGui.lua:
find the array "local defaults" (line 19) and copy any of the entry arrays. Change the name like this:
your_control = {
controlName = "Other_Addons_Gui_Element",
active = true,
position = "BOTTOMLEFT",
anchorPosition = "TOPLEFT",
anchorName = "WhateverAnchor",
width = 1000,
height = 600,
offsetX = 0,
offsetY = 0,
},
Can go anywhere into the list, just remember the , at the end.
If you don't want to set any parameters, just remove the lines.
Next, find "local controlsToHandle" (currently line 173) and add whatever key you entered under "your_control", like this:
local controlsToHandle = {
"achievementTracker",
"wykkydsToolbar",
"miniMap",
"switchBar",
"ravaloxQT",
"lootDrop",
"das",
"alertText",
"healthBar",
"magickaBar",
"staminaBar",
"your_control",
}
Make sure that every line ends in a ,
If you really need menu entries for your control, please find the corresponding code in
NailDownGuiMenu.lua
and copy any of the arrays in local optionsData = { ... } but the those where the comment says "do not copy as template". Replace the strings (the things in the ""s) by whatever you inserted above as "your_control". The rest should magically work.