id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	branch_state	votes
4256	[PATCH] Panel scrollbars + prettier scrollbars in dialogs	kybl		"Hi, I'm coming with a patch with improving UI regarding scrollbars. It actually brings two things:

== 1) Improved scrollbar in a list box ==

The current scrollbar in a list box is just an asterisk. My proposal is to change them to be all more useful + nicer + consistent with scrollbars from other programs:
* instead of one asterisk character, the scrollbar is a proper line created with Unicode block characters (in ASCII mode, it is replaced by `#` char)
* the scroll box length is proportional to the window size and the number of items. The more we can see, the longer is the scroll box. For example, if there are 30 items and we can see 10 items, the scroll box will take 1/3 of the window height. This is consistent with how usual GUI programs show scrollbars.
* position of the current asterisk is based on the current ''cursor position''. In this patch, the position of the scroll box is based on the ''window view position''. This is also for consistency with other programs (and usability as well)
* for more smoothness, the scroll box uses half-box Unicode character as well. So in the one physical character, there could be a full box, half box, or no box at all.

== 2) Scrollbars in the main panels ==

This patch also brings a scrollbar on the right side, next to each main panel. The main purpose is better UX; one could quickly say if there are 20, 100 or 1000 files in the directory and the cursor is now.

Scrollbar has similar properties as a scrollbar in the list box, except the ""grey"" background created with Unicode block characters (it would not be so nice to not have the background there), and no half-boxes (because of the background). I was inspired by Far Manager here.

Scrollbars in the main panels can be turned off or on in the ""Layout"" preferences. Currently, it is on by default.

=== Others ===

From the technical point of view, it introduces a new widget `WScrollbar`.

See screenshot before:after here.

Opinions?
"	enhancement	new	minor	Future Releases	mc-core	master						no branch	
