/* * Motif * * Copyright (c) 1987-2012, The Open Group. All rights reserved. * * These libraries and programs are free software; you can * redistribute them and/or modify them under the terms of the GNU * Lesser General Public License as published by the Free Software * Foundation; either version 2 of the License, or (at your option) * any later version. * * These libraries and programs are distributed in the hope that * they will be useful, but WITHOUT ANY WARRANTY; without even the * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU Lesser General Public License for more * details. * * You should have received a copy of the GNU Lesser General Public * License along with these librararies and programs; if not, write * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth * Floor, Boston, MA 02110-1301 USA */ /* * HISTORY */ /* static char rcsid[] = "$XConsortium: Baseline2.dat /main/5 1995/07/13 18:29:11 drk $" */ #) A test with a two RowColumns will appear. The rightmost RowColumn will contain 11 widgets consisting of Label and LabelGadget subclasses, and a Text and TextField widget. The leftmost RowColumn contains a scale and a RadioBox. The RadioBox will contain the various allowable setting for the resources XmNentryVerticalAlignment in RowColumn. #) Click Mouse Button on XmALIGNMENT_BASELINE_BOTTOM. The RowColumn on the right should reize it children for this alignment. All widgets should be visible. #) Click Mouse Button on XmALIGNMENT_BASELINE_TOP. The RowColumn on the right should reize it children for this alignment. #) Click Mouse Button on XmALIGNMENT_CONTENTS_BOTTOM. The RowColumn on the right should reize it children for this alignment. #) Click Mouse Button on XmALIGNMENT_CONTENTS_TOP. The RowColumn on the right should reize it children for this alignment. #) Click Mouse Button on XmALIGNMENT_CENTER. The RowColumn on the right should reize it children for this alignment. C) #) Move the scale associated labeled \" Number of Columns\" to values greater than 2 and try setting the Alignments again. #) Move the associated labeled \" Number of Columns\" to 6, you should be able to see all the widgets in 6 separate columns. C) #) Packing has now changed to XmPACK_TIGHT, and a height of 250 has been imposed on the RowColumn. This should force the RowColumn to wrap into 2 columns. #) Try all settings for Baseline alignment. E)