So, you want to set only the Y-position of your MessageBox? Do it:
var msg=Ext.Msg.show({ title:'[SOME TITLE]', msg: '[SOME MESSAGE]', buttons: Ext.Msg.YESNO, fn: function (btn){ if(btn=='yes'){
Using setPosition, do the following:
msg.getDialog().setPosition(undefined,50)
In this example, I used 50 pixels because it is close to the top. You can install it on something else on top.
Christiaan westerbeek
source share