Blob Blame History Raw
# $XConsortium: Container5a.scr /main/4 1995/07/17 20:16:38 drk $
# 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

# #) This is Container5 running with the option "-u a".
# #) A Container will appear empty.
# #) Its layoutType is Spatial, its spatialStyle is XmCELLS, its 
#    spatialSnapModel is CENTER, its viewType is ANY_ICON, and
#    the margins have been set to 20.
# C)

LocatePointer Container5a
CompareVisual Container5a
Continue

# #) 4 Icon Gadgets are added to the Container. They are aligned in 
#    one column. The Container should resize to a correct size.
# C)

LocatePointer Container5a
CompareVisual Container5a
Continue

# #) The spatialStyle is now set to XmNONE.
# #) No visual change should occur.
# C)

LocatePointer Container5a
CompareVisual Container5a
Continue

# #) The Icon gadgets are unmanaged, the spatialResizeModel is set to
#    XmGROW_BALANCED.
# #) The Icon gadgets are managed again. The layout should be balanced.
# #) You should see 2 icon gadgets on the 1st row, and 2 on the 2nd row.
# # E)

LocatePointer Container5a
CompareVisual Container5a
Exit