Thread Tools Display Modes
01-07-06, 07:33 AM   #1
chabo
A Murloc Raider
Join Date: Jan 2006
Posts: 4
DUF frame scale and font problem

Have someone solve problem which occure after scaling frame and closing config window font get to huge size?
  Reply With Quote
01-08-06, 02:47 AM   #2
chabo
A Murloc Raider
Join Date: Jan 2006
Posts: 4
Seems that nobody have such problem except me? I tried to disable all other addons except
Discord and no changes. After scaling of frame(try default Loz, MinigoupClassic config) and closing config window all font in text labels get huge size.
  Reply With Quote
01-08-06, 04:20 AM   #3
DSanai
A Wyrmkin Dreamwalker
 
DSanai's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2005
Posts: 50
In another thread, Loz posted this change, to be made to DUF_Initialization.lua:

Change these, in the DUF_Initialize_TextBox function:
Code:
frame:SetScale(DUF_Settings[DUF_INDEX][DUF_FRAME_DATA[unit].index].scale + .1);
frame:SetScale(DUF_Settings[DUF_INDEX][DUF_FRAME_DATA[unit].index].scale);
To this:
Code:
frame:SetScale(2);
frame:SetScale(1);
I haven't tested it yet, but I think it's this issue it's intended to solve.
__________________
Dsanai - nElf Hunter
Glacialfox - nElf Death Knight
Evilianti - Gnome Warlock
  Reply With Quote
01-08-06, 07:30 AM   #4
chabo
A Murloc Raider
Join Date: Jan 2006
Posts: 4
Thank You very mach I was looking all forums but didt find anything. It works.
  Reply With Quote
01-08-06, 02:54 PM   #5
Sent
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: Jan 2006
Posts: 14
Thanks a ton
  Reply With Quote
01-08-06, 07:13 PM   #6
DSanai
A Wyrmkin Dreamwalker
 
DSanai's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2005
Posts: 50
I confirm it works, as well.

I went back to my pre-2.351 profile, made this code change, and the text scales perfectly now.

There are a couple changes that need to be made afterward, though, to bring it back to the same look as it had before:

1) Scale the 6 frames up/down as needed to make them the same size they were before. On my particular system, with the UI scale I use, I had to change the 100 scale frames up to 125 to achieve the same look.

2) Change the Frame Strata of the Health, Mana, and XP Bar elements to anything higher than BACKGROUND (LOW should work).

3) You may need to unlock the frames and drag some frames -- I found my Party frames and TargetOfTarget didn't scale back to the same locations.

All in all, I'm very happy again.
__________________
Dsanai - nElf Hunter
Glacialfox - nElf Death Knight
Evilianti - Gnome Warlock
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » Released AddOns » DUF frame scale and font problem

Thread Tools
Display Modes

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