Width of Screen
I'm creating my own toolbar that displays information across the top of my screen (like all the data brokers do). However, I can't get it to have my bar go across the entire top of my screen. It stops about 90% of the way across the screen.
This is what I have for the main frame: local f = CreateFrame("FRAME", "Carrie", UIParent) f:SetWidth(GetScreenWidth() * UIParent:GetEffectiveScale()) f:SetHeight(15) I've also tried it with the * UIParent:GetEffectiveScale() to no avail. Thanks! |
f:SetPoint('TOPLEFT')
f:SetPoint('TOPRIGHT') is not enough? |
Quote:
|
you could even do:
f:SetPoint'TOP' f:SetPoint'LEFT' f:SetPoint'RIGHT' f:SetHeight'20' |
All times are GMT -6. The time now is 06:19 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI