Different predefined alignment options:
Predefined button appearances:
On some platforms, the following appearances are also defined:
Use a second element to get the appearance of a pressed button:
Use a special appearance for the button:
By default, the button function does not evaluate until you click it:
By setting
AutoAction , the button function evaluates as you mouseover the button area:
Change the background colors:
Change the background color on every click:
Align with the surrounding text:
Change the baseline position on every button click:
Add styles to a button:
Select the behavior of a button:
Select the expression below and click the above button to expand inline:
Remove extra whitespace around a label with no ascenders or descenders:
By default,
Button is enabled:
By setting
Enabled ->False , the button is disabled but visible in its current state:
By default, the button function is sent to the kernel for evaluation:
By setting
Evaluator , the button function is evaluated in the front end:
Not all functionalities are available in the front end:
By setting
FrameMargins , you make the button content area larger:
Use preset values:
Or use any values:
By setting the second element, you can also control the height:
A fully customized image size:
By default, button functions are evaluated on a preemptive link, which times out after 5 seconds:
Use
Method to evaluate button functions on the main link, which never times out:
Specify that the stop button event needs to preemptively interrupt an evaluation: