Generic FunctionPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.0
Unrevised from 9.0 to 10.0.
9.0 version

padding

Arguments: picture-control

Returns the value of the padding property of the argument. The value should be a non-negative integer indicating the number of pixels of extra space to place around each button-info's image but inside the button-info borders of a multi-picture-button (multi-picture-buttons are made up of button-info objects describing the picture buttons) or around the image of a picture-button or static-picture.

padding on a multi-picture-button

For a multi-picture-button, the size of the individual buttons will change to accommodate the specified padding. The images in the button will stay the same size (images are not stretched). See also spacing, which controls the distance between buttons, but not the size of the buttons themselves. (You can see the button area clearly when button-3d-border is t.)

padding on a picture-button and static-picture

For a picture-button or static-picture, the image will be stretched as needed to fit with the specified padding if stretching is true but will not be stretched if stretching is nil. Note that if padding is too large, the image may disappear and the entire space available is taken up by padding.


Copyright (c) 1998-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 9.0 page.
Created 2015.5.21.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.0
Unrevised from 9.0 to 10.0.
9.0 version