Generic FunctionPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.1
Unrevised from 8.0 to 8.1.
8.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-2009, Franz Inc. Oakland, CA., USA. All rights reserved.
Documentation for Allegro CL version 8.1. This page was not revised from the 8.0 page.
Created 2009.7.29.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.1
Unrevised from 8.0 to 8.1.
8.0 version