View Single Post
  #1  
Old 02-24-2006, 03:58 AM
Warcaptain Warcaptain is offline
Banned
Warcaptain's Avatar
Join Date: Jun 2001
Location: Virginia, USA
Posts: 2,086
Warcaptain is on a distinguished road
Send a message via ICQ to Warcaptain Send a message via AIM to Warcaptain Send a message via Yahoo to Warcaptain
scrolling problem with containers

when you move the graalcontrol it causes scrolling problems... ie with this:
NPC Code:

//#CLIENTSIDE

function onCreated(){
drawGui();
}

function drawGui(){
TestWindow = new GuiWindowCtrl("TestWindow");
with (TestWindow){
profile = "GuiBlueWindowProfile";
x=0;
y=0;
width=screenwidth;
height=64;
visible=true;
canresize=false;
canmove=false;
canclose=false;
canmaximize=false;
canminimize=false;
}
GUIContainer.addControl(TestWindow);
GraalControl.height=GUIContainer.height-64;
GraalControl.y=64;
GraalControl.horizSizing = "width";
GraalControl.vertSizing = "height";
TestWindow.vertSizing = "left";
}


this should display a screenwidth wide and 64 pixel high blue indow at the top and move the graal control down 64 (and shrinking its height 64 to fit) which it does but it has scrolling problems at the bottom
Attached Thumbnails
Click image for larger version

Name:	scrollproblems.png
Views:	96
Size:	27.2 KB
ID:	35662  
Reply With Quote