[comp.windows.x.motif] Sizing Problem

niebres@mct-1.UUCP (Caroline Niebres) (04/17/91)

	Hi All!

	I have a perplexing problem.  I have a little application that
	has a geometry problem.  The hierarchy of widgets is as follows:

				XmForm
				/    \
			      /	       \
		  XmBulletinBoard     XmRowColumn
			/		    / 
		      /			  /
		  XmLabel	     XmPushButton

	The BulletinBoard is attached to the Form at the top and sides.
	The RowColumn is attached to the bottom of the BulletinBoard at
	its top and to the Form at its sides.  This is defined via a
	UIL file.

	The Label is "filled in" by the program after the main window
	(the Form) is fetched and before it is managed.

	The problem is this.  When the window appears, it is too narrow
	to see all of the label.  We are trying to avoid setting a width
	because the label would change.

	Unmanaging and managing the label widget did not help.

	Is there something that can be done?

	Thanks in advance.

				Caroline

	P.S.  We are running 11R3 and Motif 1.0.

&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
!	Caroline Niebres			Software Engineer	 !
!	Micro Component Technology, Inc.	St. Paul, MN		 !
!	(612) 482 - 6335			uunet!mct-1!niebres	 !
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

niebres@mct-1.UUCP (Caroline Niebres) (04/19/91)

	Hi All!

	I have a perplexing problem.  I have a little application that
	has a geometry problem.  The hierarchy of widgets is as follows:

				XmForm
				/    \
			      /	       \
		  XmBulletinBoard     XmRowColumn
			/		    / 
		      /			  /
		  XmLabel	     XmPushButton

	The BulletinBoard is attached to the Form at the top and sides.
	The RowColumn is attached to the bottom of the BulletinBoard at
	its top and to the Form at its sides.  This is defined via a
	UIL file.

	The Label is "filled in" by the program after the main window
	(the Form) is fetched and before it is managed.

	The problem is this.  When the window appears, it is too narrow
	to see all of the label.  We are trying to avoid setting a width
	because the label would change.

	Unmanaging and managing the label widget did not help.

	Is there something that can be done?

	P.S.  We are running 11R3 and Motif 1.0.

>Subject: Re: Sizing Problem 
>From: Vania Joloboff <uunet!osf.org!vania>

>	The problem is this.  When the window appears, it is too narrow
>	to see all of the label.  We are trying to avoid setting a width
>	because the label would change.

>It depends upon:

>	- the resize policy of the BulletinBoard
>	- the resize policy of the Form
>	- the resize policy of the Shell

>Your description does not provide enough info to figure out what
>happens.

	As Vania has pointed out I did forget to mention that all the
	resizing policies were left to their default state.

	Thanks for your help.

				Caroline

&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
!	Caroline Niebres			Software Engineer	 !
!	Micro Component Technology, Inc.	St. Paul, MN		 !
!	(612) 482 - 6335			uunet!mct-1!niebres	 !
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&