Generic Function | Package: cg | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 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-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version