forked from TheUltDev/TibiaFlashClient
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_ControlBarStyle.as
More file actions
42 lines (38 loc) · 1.17 KB
/
_ControlBarStyle.as
File metadata and controls
42 lines (38 loc) · 1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
package
{
import mx.core.*;
import mx.styles.*;
public class _ControlBarStyle extends Object
{
public function _ControlBarStyle()
{
return;
}// end function
public static function init(param1:IFlexModuleFactory) : void
{
var fbs:* = param1;
var style:* = StyleManager.getStyleDeclaration("ControlBar");
if (!style)
{
style = new CSSStyleDeclaration();
StyleManager.setStyleDeclaration("ControlBar", style, false);
}
if (style.defaultFactory == null)
{
style.defaultFactory = function () : void
{
this.verticalAlign = "middle";
this.paddingBottom = 10;
this.paddingRight = 10;
this.disabledOverlayAlpha = 0;
this.paddingTop = 10;
this.borderStyle = "controlBar";
this.paddingLeft = 10;
return;
}// end function
;
}
return;
}// end function
}
}