how to make scroll bar indicator more clear and easy to see?

后端 未结 4 1607
粉色の甜心
粉色の甜心 2020-12-28 17:56

Using Submine test 3, build 3083 on windows 7.
Currently using Dawn.tm theme, selected from Preferences->Color themes

The only problem

4条回答
  •  南方客
    南方客 (楼主)
    2020-12-28 18:21

    This works nicely. However, the problem is that the "puck" only appears when you use the mouse to scroll up or down. When I try to grab the puck to scroll right, it disappears. We need a stable scrollbar as in most interfaces. This adjustment makes the scrollbars more stable:

    {
        "class": "puck_control",
        "layer0.texture": "User/Theme - Default/vertical_white_scrollbar.png",
        "content_margin": [3, 4], //makes horiz scrollbar taller
        // Adjust RGB color. Optional: comment the following line (or set 255,255,255) to not modify image color
        "layer0.tint": [200, 170, 250]
    },
    {
        "class": "puck_control",
        "attributes": ["horizontal"],
        "content_margin": [3, 4], //makes horiz scrollbar taller
        "layer0.texture": "User/Theme - Default/horizontal_white_scrollbar.png"
    
    }
    {
        "class": "tab_label",
        "parents": [{"class": "tab_control", "attributes": ["selected"]}],
        //"fg": [30,30,30],
        "fg": [255,131,0] //change highlighted tab color
    }
    

    Derived from: Sublime Text 3 Hides scrollbars

提交回复
热议问题