🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sun
Article #10930

Re: SunView question: positioning parts of a slider

#10930
From: Chuck Musciano
Date: Tue, 14 Feb 1989 17:30
19 lines
1355 bytes
> 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?

Unfortunately, you are stuck with the layout determined by the SunView
implementers.  There are many shortcomings with sliders, including an
inability to represent real numbers, and (I think) incorrectly setting the
slider position when dealing with a small range of values.  I think you
are forced to do all the custom positioning yourself.

Incidentally, it is not hard to implement a slider yourself with a few
message items containing the values and a pixrect that understands click
and drag events.

Chuck Musciano
Advanced Technology Department
Harris Corporation
(407) 727-6131
ARPA: chuck@trantor.harris-atd.com
Technical Details
Message-ID: <8902091257.AA13417@trantor.harris-atd.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!rice!sun-spots-request

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!rice!sun-spots-request
From: chuck@trantor.harris-atd.com (Chuck Musciano)
Newsgroups: comp.sys.sun
Subject: Re: SunView question: positioning parts of a slider
Message-ID: <8902091257.AA13417@trantor.harris-atd.com>
Date: 14 Feb 89 17:30:34 GMT
Sender: usenet@rice.edu
Organization: Sun-Spots
Lines: 19
Approved: Sun-Spots@rice.edu
Original-Date: Thu, 9 Feb 89 07:56:30 EST
X-Sun-Spots-Digest: Volume 7, Issue 154, message 10 of 14