Height of progress scrollbar

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
hutchfx
Posts: 37
Joined: Sat Apr 09, 2011 5:38 am

Height of progress scrollbar

Post by hutchfx »

Changing the height of a horizontal progress scrollbar only changes the rectangle of the object. Is there a way to change the height of the visible bar?

Thanks!

Hutch
bogs
Posts: 5480
Joined: Sat Feb 25, 2017 10:45 pm

Re: Height of progress scrollbar

Post by bogs »

On a scrollbar, it is the thumbsize your looking to change I am pretty sure.
Image
jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2734
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

Re: Height of progress scrollbar

Post by jmburnod »

Hi Hutch,
Is there a way to change the height of the visible bar
I think no, but you can create your own progress/scroll bar with LC :D
Best regards
Jean-Marc
https://alternatic.ch
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10415
Joined: Fri Feb 19, 2010 10:17 am

Re: Height of progress scrollbar

Post by richmond62 »

The thumbSize of a horizontal scrollbar determines
how LONG the thumb of the scrollbar is.

While you can use scrollbarWidth to "fatten" the scrollbars in a field you
cannot, for some odd reason, do that with a standalone scrollBar.
bogs
Posts: 5480
Joined: Sat Feb 25, 2017 10:45 pm

Re: Height of progress scrollbar

Post by bogs »

richmond62 wrote: Wed Jan 17, 2018 1:27 pm The thumbSize of a horizontal scrollbar determines
how LONG the thumb of the scrollbar is.
My bad, I thought that was what he was trying to change. Yah, rolling your own is the only way I know of then.
Image
jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2734
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

Re: Height of progress scrollbar

Post by jmburnod »

Hi,
There is a custom slider example stack in this thread:
http://forums.livecode.com/viewtopic.php?f=8&t=29582
Jean-Marc
https://alternatic.ch
Post Reply