Customizing the toolbar

Ask for help and post your question on how to use XnView MP.

Moderators: XnTriq, xnview

Post Reply
Posts: 4
Joined: Fri Jul 15, 2011 1:26 pm

Customizing the toolbar

Post by luppa » Thu Aug 22, 2019 12:40 pm


I've been using XnView for years, and now because of Linux use, I've started to use XnView MP.

In the classic XnView, I made same changes to the toolbar (in view mode). I added a button for JPG lossless crop, and attached a nice custom icon for it. I was able to select cmd_JPEGCrop from a command dropdown menu.
I also added a button for fit to window-zoom, with the command name cmd_FitToWindow, and attached a custom icon to it.

Now in MP, I can somewhat customize the toolbar (Settings.../Interface/Toolbar), but I find no way to add the cmd_JPEGCrop or anything similar to it, it is not on the list of selectable commands. Am I not looking in the right place?

I can add the Fit image to window button to the Toolbar, but it shows up in the toolbar with the text "Fit image to window", and I can't change the icon on it. There is a "Set Icon..." button on the Toolbar settings, but it is greyed out, looks like I can only use it for external commands. Any way to get custom icons working at the moment? I can gladly edit some settings files if that gets the icons working.

User avatar
Author of XnView
Posts: 32403
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Customizing the toolbar

Post by xnview » Tue Aug 27, 2019 12:42 pm

you have cmd_lcrop, currently it's not possible to set icon for internal command

Post Reply