1
0
Fork 0
forked from 0x2620/oxjs

updating dialog

This commit is contained in:
Rolux 2010-02-20 09:56:53 +05:30
commit af4a5e931e
5 changed files with 30 additions and 16 deletions

View file

@ -1168,7 +1168,7 @@ requires
that = new Ox.Element({}, self)
.defaults({
orientation: "horizontal",
size: 16
size: "medium" // can be int
})
.options(options || {})
.addClass("OxBar Ox" + Ox.toTitleCase(self.options.orientation)),
@ -1241,9 +1241,9 @@ requires
.addClass("OxDialog")
.css({
left: (($document.width() - self.options.width) / 2) + "px",
top: (($document.height() - self.options.height - 68) / 2) + "px",
top: (($document.height() - self.options.height - 80) / 2) + "px",
width: self.options.width + "px",
height: (self.options.height + 68) + "px"
height: (self.options.height + 80) + "px"
});
that.$titlebar = new Ox.Bar({
size: "medium"
@ -1287,7 +1287,7 @@ requires
height: self.options.height + "px"
})
.appendTo(that);
that.$buttonsbar = new Ox.Element()
that.$buttonsbar = new Ox.Bar({})
.addClass("OxButtonsBar")
.appendTo(that);
that.$buttons = [];