Add support for height and width on notebook
issue8078 review45921002
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
* Add support for height and width on notebook
|
||||
* Use tab key for tab navigation
|
||||
* Use record and field properties of widget instead of method arguments
|
||||
* Reduce offset when no search result
|
||||
|
||||
@@ -180,6 +180,12 @@ function eval_pyson(value){
|
||||
attributes.colspan = 4;
|
||||
}
|
||||
var notebook = new Sao.View.Form.Notebook(attributes);
|
||||
if (attributes.height) {
|
||||
notebook.el.css('min-height', attributes.height + 'px');
|
||||
}
|
||||
if (attributes.width) {
|
||||
notebook.el.css('min-width', attributes.width + 'px');
|
||||
}
|
||||
this.notebooks.push(notebook);
|
||||
this.state_widgets.push(notebook);
|
||||
container.add(attributes, notebook);
|
||||
|
||||
Reference in New Issue
Block a user