![]() |
![]() |
![]() |
![]() |
Set the Size of the Canvas
The Canvas is the area where you will be working. It is possible to edit the size of the Canvas whenever you like, but in this tutorial, you will only change it once.
- Make sure you are looking at the Canvas Composer.
- Choose the "Canvas Methods" tab on the Canvas Composer. This is a special tab which only appears in the Canvas Composer.
- Use the choice box to the left of the Code Sourcerer button to choose getPreferredSize().
You should see the following code:
This is the code which tells Simplicity how large the Canvas should be. It will be easier to work with a larger Canvas. Edit the code so that it reads
The Canvas window will change to reflect the new, larger, size.
Data Representations, Inc. http://www.datarepresentations.com support@datarepresentations.com sales@datarepresentations.com |
![]() |
![]() |
![]() |
![]() |