Thread Tools Display Modes
02-14-10, 07:25 AM   #1
Doubleosix
A Murloc Raider
Join Date: Oct 2008
Posts: 7
Viewport size

Hi,

Let me start by saying I am a great supporter of the whole nUI concept, and have been using it exclusively since the start.

I am sure my problem is more psychological than real, but I would like to try it any way and see. If I remember correctly, originally nUI did not shrink the visible viewport.

In the days of CTMOD, I never could answer the question of whether to shrink the viewport or not.

Is there an easy way to stop nUI changing the viewport size. I realize the bottom part of the viewport will then be completely invisible, but I would still like to try this out again.

I am sure if I scratch around in the code, I will find where the viewport is resized, but a quick look did not reveal the obvious to me.

Than you.
 
02-14-10, 08:49 AM   #2
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
It can be done, but one of the consequences of that is that it will move your character lower in the viewport and that causes the UI dashboard to start to interfere with the field of play.

In any event, if you would like to try playing with the viewport, look in [ Interface > AddOns > nUI > Main > nUI.lua ] for the following line 208...
WorldFrame:SetPoint( "BOTTOM", nUI_Dashboard, "CENTER", 0, 0 );
That's the line that moves the bottom of the viewport up.
__________________

What people don't get is that I am, ultimately, an artist at heart.
My brush has two colors, 1 and 0, and my canvas is made of silicon.



Official nUI Web Site: http://www.nUIaddon.com
Official nUI Support Forum: http://forums.nUIaddon.com
My day job: http://www.presidio.com/
 
02-14-10, 01:03 PM   #3
Doubleosix
A Murloc Raider
Join Date: Oct 2008
Posts: 7
Thanks for the info, I realize the consequences, but I think it may be worth it.
At least I want to see how it works for me. I am sure for most people it will not be a good idea.
 
 

WoWInterface » Featured Projects » nUI, MozzFullWorldMap and PartySpotter » Support » nUI: Technical Support » Viewport size


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