Change Layers Panel background color in QGIS

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty margin-bottom:0;







up vote
2
down vote

favorite












In QGIS it's easy to change background color of the map canvas, but is there a way to do the same for the Layers Panel ? In cases of very light colored styles these appear not so clear (if at all) on a white background. I know that in QGIS 3 there is an option to toggle GUI theme from default to Night Mapping, wich turns anything into darkness, but is there a way to set Layers Panel background to e.g. black independantly from the GUI theme? Python perhaps?







share|improve this question


























    up vote
    2
    down vote

    favorite












    In QGIS it's easy to change background color of the map canvas, but is there a way to do the same for the Layers Panel ? In cases of very light colored styles these appear not so clear (if at all) on a white background. I know that in QGIS 3 there is an option to toggle GUI theme from default to Night Mapping, wich turns anything into darkness, but is there a way to set Layers Panel background to e.g. black independantly from the GUI theme? Python perhaps?







    share|improve this question






















      up vote
      2
      down vote

      favorite









      up vote
      2
      down vote

      favorite











      In QGIS it's easy to change background color of the map canvas, but is there a way to do the same for the Layers Panel ? In cases of very light colored styles these appear not so clear (if at all) on a white background. I know that in QGIS 3 there is an option to toggle GUI theme from default to Night Mapping, wich turns anything into darkness, but is there a way to set Layers Panel background to e.g. black independantly from the GUI theme? Python perhaps?







      share|improve this question












      In QGIS it's easy to change background color of the map canvas, but is there a way to do the same for the Layers Panel ? In cases of very light colored styles these appear not so clear (if at all) on a white background. I know that in QGIS 3 there is an option to toggle GUI theme from default to Night Mapping, wich turns anything into darkness, but is there a way to set Layers Panel background to e.g. black independantly from the GUI theme? Python perhaps?









      share|improve this question











      share|improve this question




      share|improve this question










      asked Aug 10 at 8:35









      Jochen Schwarze

      5,42521249




      5,42521249




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          3
          down vote



          accepted










          there's a plugin called Load QSS - UI Themes that's available in QGIS 2 and 3. This comes with about 10 or so themes you can use, beyond the standard light/dark themes.



          enter image description here



          You can come up with your own themes - QSS is very like CSS, but for Qt Widgets. If you write your own it's likely you'll be able to customise a specific widget like the Layers box.



          It's been a few years since i tried QSS so i'm not sure whether you can style the layers dock specifically, but at the least, all docks could be styled to contrast with the canvas and toolbars.






          share|improve this answer






















            Your Answer







            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "79"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            convertImagesToLinks: false,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













             

            draft saved


            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f292386%2fchange-layers-panel-background-color-in-qgis%23new-answer', 'question_page');

            );

            Post as a guest






























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            3
            down vote



            accepted










            there's a plugin called Load QSS - UI Themes that's available in QGIS 2 and 3. This comes with about 10 or so themes you can use, beyond the standard light/dark themes.



            enter image description here



            You can come up with your own themes - QSS is very like CSS, but for Qt Widgets. If you write your own it's likely you'll be able to customise a specific widget like the Layers box.



            It's been a few years since i tried QSS so i'm not sure whether you can style the layers dock specifically, but at the least, all docks could be styled to contrast with the canvas and toolbars.






            share|improve this answer


























              up vote
              3
              down vote



              accepted










              there's a plugin called Load QSS - UI Themes that's available in QGIS 2 and 3. This comes with about 10 or so themes you can use, beyond the standard light/dark themes.



              enter image description here



              You can come up with your own themes - QSS is very like CSS, but for Qt Widgets. If you write your own it's likely you'll be able to customise a specific widget like the Layers box.



              It's been a few years since i tried QSS so i'm not sure whether you can style the layers dock specifically, but at the least, all docks could be styled to contrast with the canvas and toolbars.






              share|improve this answer
























                up vote
                3
                down vote



                accepted







                up vote
                3
                down vote



                accepted






                there's a plugin called Load QSS - UI Themes that's available in QGIS 2 and 3. This comes with about 10 or so themes you can use, beyond the standard light/dark themes.



                enter image description here



                You can come up with your own themes - QSS is very like CSS, but for Qt Widgets. If you write your own it's likely you'll be able to customise a specific widget like the Layers box.



                It's been a few years since i tried QSS so i'm not sure whether you can style the layers dock specifically, but at the least, all docks could be styled to contrast with the canvas and toolbars.






                share|improve this answer














                there's a plugin called Load QSS - UI Themes that's available in QGIS 2 and 3. This comes with about 10 or so themes you can use, beyond the standard light/dark themes.



                enter image description here



                You can come up with your own themes - QSS is very like CSS, but for Qt Widgets. If you write your own it's likely you'll be able to customise a specific widget like the Layers box.



                It's been a few years since i tried QSS so i'm not sure whether you can style the layers dock specifically, but at the least, all docks could be styled to contrast with the canvas and toolbars.







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Aug 10 at 9:10

























                answered Aug 10 at 9:02









                Steven Kay

                15.9k21552




                15.9k21552



























                     

                    draft saved


                    draft discarded















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f292386%2fchange-layers-panel-background-color-in-qgis%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Comments

                    Popular posts from this blog

                    What does second last employer means? [closed]

                    Installing NextGIS Connect into QGIS 3?

                    One-line joke