Home Download Buy Blog Forum Support

Transparent Goto Anything menu?

Transparent Goto Anything menu?

Postby arvid on Sun Jan 27, 2013 6:53 pm

Hello!

I've been using Sublime Text for a few weeks now and one thing that would be really nice would be having the Goto Anything menu transparent.
That would give me a chance to see all of the text in the current file while searching for the file I want.

Is this possible via a setting? I've tried searching for it but haven't found anything yet.
arvid
 
Posts: 4
Joined: Sun Jan 27, 2013 6:49 pm

Re: Transparent Goto Anything menu?

Postby rene.hamburger on Thu Jun 26, 2014 4:06 pm

The opacity of the Quick Panel (ctrl-p) can be controlled with the following theme settings:
Code: Select all
[
    // Quick Panel Opacity
    {
        "class": "overlay_control",
        "layer0.opacity": 0.3
    },
    {
        "class": "quick_panel",
        "layer0.opacity": 0
    },
    {
        "class": "quick_panel_row",
        "layer0.opacity": 0.8
    },
    {
        "class": "mini_quick_panel_row",
        "layer0.opacity": 0.8
    },
    // Quick Panel Colours
    {
        "class": "quick_panel_label",
        "fg": [200, 200, 255, 255],
        "match_fg": [200, 200, 255, 255],
        "selected_fg": [255, 255, 200, 255],
        "selected_match_fg": [255, 255, 200, 255]
        // Changing bg or selected_bg seems to be without effect
        // "bg": [200, 200, 200, 255],
        // "selected_bg": [0, 0, 0, 255],
    }

]

Adding these to a file called 'Default.sublime-theme' in the 'Packages/User' folder should do the trick.
rene.hamburger
 
Posts: 1
Joined: Mon Sep 16, 2013 11:00 am


Return to Technical Support

Who is online

Users browsing this forum: Google [Bot] and 38 guests