fix resizing behavior of lists sections

This commit is contained in:
rlx 2011-01-14 03:53:18 +00:00
parent 2a4703b0b5
commit 6cf02b4e61
2 changed files with 10 additions and 2 deletions

View file

@ -143,7 +143,8 @@ Dialog
} }
.OxDialog > .OxContent { .OxDialog > .OxContent {
top: 24px; position: relative;
top: 0;
bottom: 24px; bottom: 24px;
height: 100%; height: 100%;
//padding: 16px; //padding: 16px;
@ -816,6 +817,11 @@ Lists
overflow: hidden; overflow: hidden;
white-space: nowrap; white-space: nowrap;
} }
.OxTextList .OxBar .OxTitle img {
width: 16px;
height: 16px;
margin: -1px 0 0 -4px;
}
.OxTextList .OxBar .OxTitle:first-child { .OxTextList .OxBar .OxTitle:first-child {
padding-left: 4px; padding-left: 4px;
} }

View file

@ -1623,7 +1623,6 @@ requires
.html(self.options.title) .html(self.options.title)
.appendTo(that.$titlebar); .appendTo(that.$titlebar);
// fixme: should the following be a container?
that.$content = new Ox.Element() that.$content = new Ox.Element()
.addClass('OxContent') .addClass('OxContent')
.css({ .css({
@ -7243,6 +7242,9 @@ requires
$.each(self.options.columns, function(i, v) { // fixme: can this go into a generic ox.js function? $.each(self.options.columns, function(i, v) { // fixme: can this go into a generic ox.js function?
// fixme: and can't these just remain undefined? // fixme: and can't these just remain undefined?
if (Ox.isUndefined(v.align)) {
v.align = 'left';
}
if (Ox.isUndefined(v.clickable)) { if (Ox.isUndefined(v.clickable)) {
v.clickable = false; v.clickable = false;
} }