I noticed that when I clicked on the caption bar of a window in my
application that it would move. I was able to create a much smaller version
(called creeper) consisting of 2 files as follows:
application:
qx.Class.define("creeper.Application",
{
extend : qx.application.Standalone,
members :
{
main : function()
{
this.base(arguments);
if (qx.core.Environment.get("qx.debug"))
{
qx.log.appender.Native;
qx.log.appender.Console;
}
new creeper.Errmsg("Click on the captionbar");
}
}
});
Errmsg:
qx.Class.define("creeper.Errmsg", {
extend: qx.ui.window.Window,
construct: function(msg) {
function exitDialog() {
this.destroy();
}
this.base(arguments);
this.set({
modal: true,
showMaximize: false,
showMinimize: false
});
this.setLayout(new qx.ui.layout.VBox(10));
this.add(new qx.ui.basic.Label(msg));
this.addListener("close", exitDialog, this);
this.addListenerOnce("appear", function() {
var top = 10;
this.set({marginTop: top});
}, this);
this.open();
}
});
Any idea why the window creeps down the screen each time I click on the
caption bar? Thanks.
--
View this message in context:
http://qooxdoo.678.n2.nabble.com/Creeping-windows-tp7580783.html
Sent from the qooxdoo mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel