Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!usc!wuarchive!decwrl!ucbvax!ziploc!eps From: eps@toaster.SFSU.EDU (Eric P. Scott) Newsgroups: comp.sys.next Subject: Text can't be right-aligned and scrolling? Summary: Yet another AppKit bug? Message-ID: <206@toaster.SFSU.EDU> Date: 24 Dec 89 10:04:09 GMT Reply-To: eps@cs.SFSU.EDU (Eric P. Scott) Organization: San Francisco State University Lines: 28 Another easy recipe for self-confusion: Launch InterfaceBuilder; Command-n to start a new application. Drag a slider from the Views palette to My Window. Hit Command-1. In the (Attributes) Inspector window, set its maximum value to 100. Click OK. Drag a Form to My Window. Set its Text alignment to RIGHT. Control-Drag from the slider to the FormCell, and connect to the takeIntValueFrom: action. Click Connect. Now Command-r to test the interface. So far, so good. Command-q; select the Form and hit Command-1 again. Click the Scrollable switch and OK. Now test the interface again. Hmm... nothing seems to be happening. Now click on the form and do Command-a. Something IS there. Click in front of it and type a digit. Surprise! Now try changing the Text alignment to LEFT and test again. Now try changing the Text alignment to CENTERED and test again. Confused??? I sure am! -=EPS=-