Page 1 of 1

Customizing the toolbar

Posted: Thu Aug 22, 2019 12:40 pm
by luppa
Hi!

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.

Re: Customizing the toolbar

Posted: Tue Aug 27, 2019 12:42 pm
by xnview
you have cmd_lcrop, currently it's not possible to set icon for internal command

Re: Customizing the toolbar

Posted: Thu Apr 23, 2020 2:41 pm
by Chrysalis
xnview wrote:
Tue Aug 27, 2019 12:42 pm
you have cmd_lcrop, currently it's not possible to set icon for internal command
Are there any plans on adding this feature in the future?