octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #58144] "Cdata" icon for UIcontrol is incorrec


From: Guillaume
Subject: [Octave-bug-tracker] [bug #58144] "Cdata" icon for UIcontrol is incorrectly sized
Date: Thu, 16 Apr 2020 16:21:48 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0

Follow-up Comment #6, bug #58144 (project octave):

Rik, I was trying to apply your change to the buttons of a uitoolbar
(uipushtool and uitoggletool) and was looking at
libgui/graphics/ToolBarButton.cc:


  action->setIcon (QIcon (QPixmap::fromImage (img)));
  action->setIconSize (QSize (32, 32)); // ?????


but it doesn't seem setIconSize() can be used like this here:


../libgui/graphics/ToolBarButton.cc:124:21: error: ‘class QAction’ has no
member named ‘setIconSize’; did you mean ‘setIcon’?
             action->setIconSize (QSize (32, 32));


Is this a different issue?

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?58144>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]