Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!rice!sun-spots-request From: mbp@lakisis.umd.edu (Mark Phillips) Newsgroups: comp.sys.sun Subject: SunView question: positioning parts of a slider? Message-ID: <8901282026.AA14413@lakisis.umd.edu> Date: 8 Feb 89 12:45:51 GMT Sender: usenet@rice.edu Organization: Sun-Spots Lines: 24 Approved: Sun-Spots@rice.edu Original-Date: Sat, 28 Jan 89 15:26:11 EST X-Sun-Spots-Digest: Volume 7, Issue 143, message 8 of 16 A slider item consists of 4 parts: the bar itself, the label, the value, and the range (the min and max values). Can someone tell me if it's possible to position these four parts individually? I can control whether the label is above or to the left of the bar by using the PANEL_LAYOUT attribute, but I can't seem to get the value to show up anywhere other than to the left of the bar, or the range other than on both sides. Ideally the layout I want is something like this: Label String Here ------------------------------------- |***********| | ------------------------------------- (min) [value] (max) Right now I'm experimenting with using separate message items to display the range and value, and updating the value myself in the slider's notify procedure. It would be lot nicer if I could just position the various parts of the slider individually. Can anyone tell me how to do this? Thanks. Mark Phillips mbp@lakisis.umd.edu Department of Mathematics OR mbp%lakisis.umd.edu@eneevax.umd.edu University of Maryland (arpanet) College Park, Maryland (301) 454-2693