forked from 0x2620/oxjs
updating dialog
This commit is contained in:
parent
96e06b2cb2
commit
af4a5e931e
5 changed files with 30 additions and 16 deletions
|
|
@ -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 = [];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue