Hi Felipe,
Welcome to the Ext.NET forums!
You also might need to re-align a Window on a browser window's resizing.
Example
<%@ Page Language="C#" %>
<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
<!DOCTYPE html>
<html>
<head runat="server">
<title>Ext.NET v2 Example</title>
</head>
<body>
<form runat="server">
<ext:ResourceManager runat="server">
<Listeners>
<WindowResize Handler="App.Window1.alignTo(Ext.getBody(), 'tr-tr?');" />
</Listeners>
</ext:ResourceManager>
<ext:Window ID="Window1" runat="server">
<Listeners>
<AfterRender Handler="this.alignTo(Ext.getBody(), 'tr-tr?');" Delay="1" />
</Listeners>
</ext:Window>
</form>
</body>
</html>
You can add X and Y offsets if needs, see:
http://docs.sencha.com/ext-js/4-2/#!...method-alignTo
Also please note that a Window doesn't depend on a Viewport, because a Window is a floating component and doesn't participate in layout.