Posts tagged as:

systemChrome

The following example shows how you can set the button alignment in an Adobe AIR WindowedApplication container by setting the buttonAlignment style.

According to the Adobe AIR documentation:

Position of buttons in title bar. Possible values: “left”, “right”, “auto”.
A value of “left” means the buttons are aligned at the left of the title bar. A value of “right” means the buttons are aligned at the right of the title bar. A value of “auto” means the buttons are aligned at the left of the title bar on Mac OS X and on the right on Windows.
The default value is “auto”.

Full code after the jump.

[click to continue…]

{ 1 comment }

The following example shows how you can set the header height on an Adobe AIR WindowedApplication container by setting the headerHeight style.

Full code after the jump.

[click to continue…]

{ 0 comments }

The following example shows how you can set the corner radius on an Adobe AIR WindowedApplication container by setting the cornerRadius style.

Full code after the jump.

[click to continue…]

{ 0 comments }

The following example shows how you can set the button padding on an Adobe AIR WindowedApplication container by setting the buttonPadding style.

Full code after the jump.

[click to continue…]

{ 1 comment }

In a previous example, “Toggling the gripper on a WindowedApplication container in Adobe AIR”, we saw how you can toggle the gripper on an Adobe AIR WindowedApplication container by setting the Boolean showGripper property.

The following example shows how you can set the padding around the gripper on an Adobe AIR WindowedApplication container by setting the gripperPadding style.

Full code after the jump.

[click to continue…]

{ 0 comments }

The following example shows how you can toggle the gripper on an Adobe AIR WindowedApplication container by setting the Boolean showGripper property.

Note: On Mac OS X a window with systemChrome set to “standard” always has an operating system gripper, so this property is ignored in that case.

[click to continue…]

{ 0 comments }

The following example show show you can detect the current system chrome setting in an Adobe AIR application by using the read-only systemChrome property and the static constants in the NativeWindowSystemChrome class.

Full code after the jump.

[click to continue…]

{ 0 comments }

The following example shows how you can set a custom text format on a Adobe AIR WindowedApplication container’s title bar by setting the titleTextStyleName style.

Full code after the jump.

[click to continue…]

{ 1 comment }