Project

General

Profile

Actions

Bug #6763

open

SetIcon for Wt::WMenuItem is not working

Added by Mahmudul hasan almost 6 years ago. Updated about 3 years ago.

Status:
New
Priority:
Immediate
Assignee:
-
Target version:
Start date:
11/26/2018
Due date:
% Done:

0%

Estimated time:

Description

I am using tab widget and want to set icon for some tab. I am setting the icon following as below. There is no error but i can't see the icon. What am i doing wrong?

m_homeTab = m_tabWidget->addTab(std::move(homeTabContent), tr("str.pivotHome"));

m_homeTab->setIcon("resources/assets/images/snow.png");

Note :: The icon location is ok. I can see it in the inspect tool. And i am using 16X16 px icon.

Actions #1

Updated by Roel Standaert almost 6 years ago

  • Target version changed from 4.0.5 to 4.1.0
Actions #2

Updated by Mahmudul Hasan about 3 years ago

We were expecting comments on this for long time.Can anyone reply above issue?

Actions

Also available in: Atom PDF