Community
    • Login

    How Do I Customize the Toolbar?

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    24 Posts 4 Posters 20.8k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • PeterJonesP
      PeterJones @PeterJones
      last edited by

      @peterjones said in How Do I Customize the Toolbar?:

      The second is a built-in method new to Notepad++ v8.4.2. The documentation has been updated in GitHub to explain how that works, and that will make its way to the npp-user-manual.org website in the near future.

      The updated npp-user-manual.org has been published: the Toolbar Icon Customization instructions are now available at
      https://npp-user-manual.org/docs/config-files/#toolbar-icon-customization-toolbaricons-xml

      1 Reply Last reply Reply Quote 2
      • Troglo37T
        Troglo37
        last edited by

        I want to change the color of some items on the old Legacy toolbar. How do I go about doing that?

        1. I want to change the color of the Save icon to green.

        2. I want to change the color of the Undo icon to red, or possibly another color.

        3. I want to change the color of the Find icon to green.

        PeterJonesP 1 Reply Last reply Reply Quote 0
        • PeterJonesP
          PeterJones @Troglo37
          last edited by PeterJones

          @Troglo37 ,

          want to change the color of the XXX icon to CCC

          The default icons are image files compiled into Notepad++ itself. The colors of icons are part of those image files. You cannot just change the color.

          In Notepad++ v8.4.2-and-newer, there is a way to tell notepad++ to use an external .ico icon file instead. That link to the user manual explains how to name the icon files and where to place them, and how to tell Notepad++ to use them. (But it is up to you to find a way to create and save a .ico file of the appropriate size and with the image+colors you want. It is beyond the scope of a Notepad++ forum to go into the details of icon creation.)

          If you have Notepad++ v8.4.1-or-earlier, you cannot change the built-in icons natively; however, the Customize Toolbar may give you the flexibility you want on the older Notepad++ versions.

          edit: fixed link

          ArkadiuszMichalskiA 1 Reply Last reply Reply Quote 3
          • ArkadiuszMichalskiA
            ArkadiuszMichalski @PeterJones
            last edited by

            @PeterJones said in How Do I Customize the Toolbar?:

            If you have Notepad++ v8.4.1-or-earlier, you cannot change the built-in icons natively; however, the Customize Toolbar may give you the flexibility you want on the older Notepad++ versions.

            Earlier versions have such possibility also with toolbarIcons.xml file:
            http://web.archive.org/web/20190715193545/http://docs.notepad-plus-plus.org/index.php/Toolbar_Customisation

            Except that this file had a slightly different syntax.
            https://github.com/notepad-plus-plus/notepad-plus-plus/blob/52e8c68f901e1dadaeb342bf38940779448277ec/PowerEditor/src/toolbarIcons.xml

            Troglo37T 1 Reply Last reply Reply Quote 1
            • Troglo37T
              Troglo37 @ArkadiuszMichalski
              last edited by

              I have a couple of questions.

              1. The icons I found are all 128x128, but almost all of the old legacy icons are 32x32. Will this cause a problem?

              2. Can I shortcut the process by simply deleting the original legacy icon, renaming the new icon to the old name, then putting it where the old one was?

              PeterJonesP 1 Reply Last reply Reply Quote 0
              • PeterJonesP
                PeterJones @Troglo37
                last edited by PeterJones

                @Troglo37

                1. If they only have the 128x128, it will have to be scaled every time (internally to NPP), but it might work. OTOH, most large icon files have multiple sizes embedded in the file, so it might have the 32x32 already embedded.

                2. As I said, the originals are compiled into the app, so there are no “old icon files” to delete or rename. Follow the instructions in the manual. (Unless you mean you downloaded the old “large standard set” as your starting point, in which case, yes, just overwrite the ones you want to replace)

                @ArkadiuszMichalski , thanks, I had seen a comment that it could be done in ancient days, but I didn’t remember that it was documented in the old wiki (even though I still have a copy floating around on my hdd somewhere)

                Troglo37T 1 Reply Last reply Reply Quote 1
                • Troglo37T
                  Troglo37 @PeterJones
                  last edited by Troglo37

                  @PeterJones said in How Do I Customize the Toolbar?:

                  @Troglo37

                  1. If they only have the 128x128, it will have to be scaled every time (internally to NPP), but it might work. OTOH, most large icon files have multiple sizes embedded in the file, so it might have the 32x32 already embedded.

                  2. As I said, the originals are compiled into the app, so there are no “old icon files” to delete or rename. Follow the instructions in the manual. (Unless you mean you downloaded the old “large standard set” as your starting point, in which case, yes, just overwrite the ones you want to replace)

                  Fortunately, all of the icons worked. I just deleted, renamed, and replaced them.

                  And yes, I DL the Customize Toolbar plugin for the old Legacy Icons Set that’s in the folder nppLegacyIcons. You finished helping me with it about a month and a half ago.

                  Here’s what my toolbar looks like now. All of the green icons are the new ones I just put there. I typed something so the Undo icon is visible.

                  Notepad++ Old Legacy Toolbar with New Icons.png

                  Troglo37T 1 Reply Last reply Reply Quote 0
                  • Troglo37T
                    Troglo37 @Troglo37
                    last edited by

                    This post is deleted!
                    1 Reply Last reply Reply Quote 0
                    • Troglo37T
                      Troglo37
                      last edited by

                      This post is deleted!
                      1 Reply Last reply Reply Quote 0
                      • Troglo37T
                        Troglo37
                        last edited by

                        Notepad++ Old Legacy Toolbar with New Icons.3.png

                        I added another (Redo) icon. It’s between the two green ones.

                        I also took this opportunity to upvote some of the posts in this thread because I got locked out last time due to the forum’s time limit after a post.

                        1 Reply Last reply Reply Quote 0
                        • Troglo37T
                          Troglo37
                          last edited by

                          I also had to delete a couple of posts for the same reason. I noticed that one of the pics had personal info, and the other one I retook didn’t have the new icon.

                          On top of that, I had to make another post for this because of the time limit! This is ridiculous!

                          The rule about being able to edit a post needs to be changed to at least 24 hours.

                          PeterJonesP 1 Reply Last reply Reply Quote 0
                          • PeterJonesP
                            PeterJones @Troglo37
                            last edited by PeterJones

                            @Troglo37 ,

                            No, it does not need to be changed to 24 hours. There is a good reason for a timeout on editing posts – namely, it can be used to “change the past”, and change the meaning of conversations, which is a bad thing. If you disagree, that’s your prerogative, but the timeout is going to remain – and it’s going to remain short relative to 24 hours (on the order of a few minutes).

                            This timeout also encourages that users make use of the PREVIEW panel, which is enabled by default and shows how your post renders. And deleting posts – as long as it doesn’t change the flow or meaning of the conversation – is the acceptable way to remove information that has passed the 5min edit timeout.

                            1 Reply Last reply Reply Quote 1
                            • First post
                              Last post
                            The Community of users of the Notepad++ text editor.
                            Powered by NodeBB | Contributors