Generic FunctionPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.2
Unrevised from 8.1 to 8.2.
8.1 version

ragged-right

Arguments: tab-control

Returns the value of the ragged-right property of its argument, which must be an instance of the tab-control class.

This property determines whether multiple rows of tabs on a tab-control may have empty space to the right rather than filling the width of the tab-control. If nil (the default), multiple rows of tabs will be made as wide as necessary in order to fill the width of the tab-control; this choice has a neater appearance though it can result in some tabs being much wider than needed to contain their text. If true, multiple rows of tabs are each only as long as necessary to contain the tab text with standard margins; this choice may result in an odd appearance when one row hangs over a shorter row below it.

When all of the tabs fit within a single row, the tabs are never made wider, since there cannot be a shorter row for a longer one to hang over.

The ragged-right property may not be changed on an existing control, and must instead be specified with the inspector when designing a control (using a form) or with the :ragged-right initarg of make-instance. (It can be changed using the inspector when designing a form but not for a running control, either in the IDE or in an application.)

ragged-right is a property of the tab-control class.

GTK Note

This property has no effect on the GTK tab-control, and calling (setf ragged-right) will simply invoke the *gtk-compatibility-warning-action*.


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

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