# HG changeset patch # User Rik # Date 1587513995 25200 # Node ID 9a40d2b40db8de2b0f719bbd96778d89b8a01b65 # Parent 49384057fb033707cdfb635133703e00657c2565 Scale ToolBarButton icons to 24x24 for better appearance (bug #58144). * ToolBarButton.cc (ToolBarButton, update): Call Utils::makeImageFromCData with width and height of 24, rather than 32. diff -r 49384057fb03 -r 9a40d2b40db8 libgui/graphics/ToolBarButton.cc --- a/libgui/graphics/ToolBarButton.cc Mon Apr 20 08:28:22 2020 -0700 +++ b/libgui/graphics/ToolBarButton.cc Tue Apr 21 17:06:35 2020 -0700 @@ -49,7 +49,7 @@ action->setVisible (tp.is_visible ()); // Get the icon data from cdata or as a named icon - QImage img = Utils::makeImageFromCData (tp.get_cdata (), 32, 32); + QImage img = Utils::makeImageFromCData (tp.get_cdata (), 24, 24); if (img.width () == 0) { @@ -104,7 +104,7 @@ case T::properties::ID_CDATA: { // Get the icon data from cdata or as a named icon - QImage img = Utils::makeImageFromCData (tp.get_cdata (), 32, 32); + QImage img = Utils::makeImageFromCData (tp.get_cdata (), 24, 24); if (img.width () == 0) {