small fixes for sync

pull/223/head
Ruben Daniels 2015-10-12 23:48:34 +00:00 zatwierdzone przez nightwing
rodzic 870ea43380
commit 02f401d368
4 zmienionych plików z 17 dodań i 0 usunięć

Plik binarny nie jest wyświetlany.

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 1.8 KiB

Plik binarny nie jest wyświetlany.

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 1.9 KiB

Wyświetl plik

@ -33568,6 +33568,8 @@ apf.splitbutton = function(struct, tagName) {
var _self = this;
this.$ext = this.$pHtmlNode.appendChild(document.createElement("div"));
this.$ext.className = "splitbutton";
if (this.getAttribute("style"))
this.$ext.setAttribute("style", this.getAttribute("style"));
var skin = this["button-skin"] || this.getAttribute("skin") || this.localName;

Wyświetl plik

@ -951,6 +951,9 @@ define(function(require, exports, module) {
aml = new ui.menu({
id: options.id,
zindex: options.zindex,
visible: options.visible,
width: options.width,
height: options.height,
"onprop.visible" : function(e) {
emit(e.value ? "show" : "hide", lastCoords);
checkItems.call(this, e);
@ -1057,6 +1060,18 @@ define(function(require, exports, module) {
*/
get zindex(){ return aml && ui.getStyle(aml.$ext, "z-index"); },
set zindex(value) { aml && aml.setAttribute("zindex", value); },
/**
* Specifies the width of the menu
* @property {Number} width
*/
get width(){ return aml && aml.getWidth(); },
set width(value) { aml && aml.setAttribute("width", value); },
/**
* Specifies the height of the menu
* @property {Number} height
*/
get height(){ return aml && aml.getHeight(); },
set height(value) { aml && aml.setAttribute("height", value); },
/**
* The menu items appended to this menu
* @property {MenuItem[]} items