Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Scout/Concepts/Button"
(→See Also) |
(→Button should fill the available space of its parent) |
||
Line 47: | Line 47: | ||
== Notes == | == Notes == | ||
− | + | '''Button should fill the available space of its parent''' | |
If you want a Button to fill the available space of its parent you need to: | If you want a Button to fill the available space of its parent you need to: | ||
* Set Grid Weight X to 1 | * Set Grid Weight X to 1 |
Revision as of 07:18, 9 September 2014
The Scout documentation has been moved to https://eclipsescout.github.io/.
Type of The Scout documentation has been moved to https://eclipsescout.github.io/. for buttons.
- implements: The Scout documentation has been moved to https://eclipsescout.github.io/.
- extends: The Scout documentation has been moved to https://eclipsescout.github.io/.
Description
Scout propose different types of buttons:
- DefaultButton
- The Scout documentation has been moved to https://eclipsescout.github.io/.
- The Scout documentation has been moved to https://eclipsescout.github.io/. to be used in The Scout documentation has been moved to https://eclipsescout.github.io/.
- The Scout documentation has been moved to https://eclipsescout.github.io/.
Screenshot
Button | RAP | SWT | Swing | Swing Rayo |
---|---|---|---|---|
Button | ||||
The Scout documentation has been moved to https://eclipsescout.github.io/. | ||||
The Scout documentation has been moved to https://eclipsescout.github.io/. | ||||
The Scout documentation has been moved to https://eclipsescout.github.io/. |
Properties
Defined with The Scout documentation has been moved to https://eclipsescout.github.io/. methods.
See also the The Scout documentation has been moved to https://eclipsescout.github.io/. page for the properties that all fields have in common.
Events
Defined with The Scout documentation has been moved to https://eclipsescout.github.io/. methods.
See also the The Scout documentation has been moved to https://eclipsescout.github.io/. page for the events that all fields have in common.
Notes
Button should fill the available space of its parent If you want a Button to fill the available space of its parent you need to:
- Set Grid Weight X to 1
- Set Grid Weight Y to 1
- Set Process Button to false (Important)
- Set Grid X to a valid value (0 for the leftmost column etc.)
- Set Grid X to a valid value (0 for the uppermost row etc.)
- Set Fill Horinzontal to true
- Set Fill Vertical to true
See Also
- The Scout documentation has been moved to https://eclipsescout.github.io/.