Thread Tools Display Modes
12-22-15, 05:38 AM   #1
korn3r
A Kobold Labourer
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 1
Dropdown menu spawn point

Hi. I have a problem with spawning dropdown menus.
I have disabled UI Scale to get pixelperfect 1px borders. But after that all blizzard stock frames + dropdown menus became unreadable on fullhd. So i used nibWindowSize addon. Code seems to work well, except some frame names have changed.
But i faced problem with scaling Dropdown menus on oUF unit frames (any layout - tested with oUF_Abu and oUF_Skaarj and many others)
Dropdownmenu always spawns with big offset.
Here is screen of dropdown on player frame, and here is screen of target frame dropdown.
First i thought its nibWindowSize problem, but it seems to work fine with blizzard unit frames and all other addons.

Here is code that scales Dropdownlist1
Code:
			if DropDownList1 then
				hooksecurefunc(DropDownList1, "Show", function()
					if Scale < MinScale then 
						DropDownList1:SetScale(MinScale) 
					end
				end)
			end

Last edited by korn3r : 12-28-15 at 06:45 AM.
  Reply With Quote

WoWInterface » Featured Projects » oUF (Otravi Unit Frames) » Dropdown menu spawn point


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off