Page 1 of 2

better progress bar

Posted: Thu Jan 27, 2022 12:31 pm
by Samuele
Hi, is there a way to make a better-looking scrollbar? For example a round scrollbar instead of a line...
Thanks!

Re: better scrollbar

Posted: Thu Jan 27, 2022 12:51 pm
by richmond62
There is always a way to make anything you want, but it takes a lot more work
than using the one offered by the IDE.

However, I don't really understand what you mean by "a round scrollbar", so, how about uploading an image to help?
-
SShot 2022-01-27 at 13.52.48.png
Basic LiveCode scrollbar
SShot 2022-01-27 at 13.52.48.png (2.74 KiB) Viewed 5905 times
-
aquaX.jpeg
aquaX.jpeg (19.07 KiB) Viewed 5905 times
-
SShot 2022-01-27 at 13.55.27.png
SShot 2022-01-27 at 13.55.27.png (35.59 KiB) Viewed 5905 times

Re: better scrollbar

Posted: Thu Jan 27, 2022 1:04 pm
by Klaus
Here is a lesson from the mothership:
https://lessons.livecode.com/m/4071/l/2 ... m-controls

Re: better scrollbar

Posted: Thu Jan 27, 2022 1:19 pm
by richmond62
Interestingly enough:

1. The example stack contains a scrollbar that is not a particular aesthetic advance on the inbuilt one.

2. It threw a "bluey" as soon as I tried to move the scroll tab.
-
SShot 2022-01-27 at 14.17.46.png
-
The lesson may help with designing one's own scrollBar.

Re: better scrollbar

Posted: Thu Jan 27, 2022 2:15 pm
by Klaus
richmond62 wrote:
Thu Jan 27, 2022 1:19 pm
...
2. It threw a "bluey" as soon as I tried to move the scroll tab.
Sorry, didn't know. :shock:
Leave a comment on the page.

Re: better scrollbar

Posted: Thu Jan 27, 2022 5:11 pm
by Samuele
sorryyyyyy!!!, i meant the progress bar, I got confused

Re: better progress bar

Posted: Thu Jan 27, 2022 5:14 pm
by richmond62
I got confused
I do that all the time. 8)
-
SShot 2022-01-27 at 18.15.04.png
SShot 2022-01-27 at 18.15.04.png (1.64 KiB) Viewed 5859 times

Re: better progress bar

Posted: Thu Jan 27, 2022 5:33 pm
by Samuele
richmond62 wrote:
Thu Jan 27, 2022 5:14 pm
I got confused
-
SShot 2022-01-27 at 18.15.04.png
How you did that? For me it won't even round up!

Re: better progress bar

Posted: Thu Jan 27, 2022 5:39 pm
by Klaus
Scrollbars and prograss bars are "borrowed" from the underlying OS.
So Richmonds screenshot just shows how a "regular" progress bar looks on a Apple Mac machine. :)

Re: better progress bar

Posted: Thu Jan 27, 2022 5:40 pm
by Samuele
ahaaa, so it's android's fault that for android they don't look good :lol:

Re: better progress bar

Posted: Thu Jan 27, 2022 5:44 pm
by Klaus
No it is even worse! :D

Since LC does not support native controls on the mobile platform out of the box, it uses here
the "Motif" look and feel (Theme) which unfortunately looks like on a UNIX machine in the early 80s!

Re: better progress bar

Posted: Thu Jan 27, 2022 5:48 pm
by Samuele
:lol: :lol: yes you're right that design is quite awful.
so you're saying i can't do nothing about it?

Re: better progress bar

Posted: Thu Jan 27, 2022 5:52 pm
by Klaus
You cannot do anything with the BUILT-IN progressbars, but to create your own.

Re: better progress bar

Posted: Thu Jan 27, 2022 6:00 pm
by dunbarx
What Klaus said.

Make your own. It will be fun and a very good exercise. Let us know if you need help starting. There are a million ways to do it, all with ordinary controls taken right out of the tools palette.

Craig

Re: better progress bar

Posted: Thu Jan 27, 2022 6:21 pm
by Samuele
dunbarx wrote:
Thu Jan 27, 2022 6:00 pm
What Klaus said.

Make your own. It will be fun and a very good exercise. Let us know if you need help starting. There are a million ways to do it, all with ordinary controls taken right out of the tools palette.

Craig
yep thanks, i didn't even know you can create your own! how do i start?
Thanks!