Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3969220
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T03:56:16+00:00 2026-05-20T03:56:16+00:00

I am using a TreeViewer to display the status of several items. The status

  • 0

I am using a TreeViewer to display the status of several items. The status should be displayed using icons. I am currently displaying colored lights to indicate the status of each node. I now need to display 2 different statuses for each item and would like each to have its own icon.

Because I have not been able to find a way to add multiple icons per node I am combining the icons into a single image that is twice as wide (32×16) as each original icon (16×16). This works except that at some point before the icon is displayed it is squished back to the original size (16×16).

Is there a way in Jface to specify the size of the icon to be used with a node in a Treeviewer?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T03:56:16+00:00Added an answer on May 20, 2026 at 3:56 am

    All Icons are resized to the dimensions of the first rendered image. If you want to use multiple Items use a Tree with multiple Columns or use a decorating LabelProvider to use decoration for a base image instead of different icons.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to display a class using a treeview but nothing is displayed. I've
I'm trying to display a Wpf Treeview with items sorted by a CollectionViewSource. Currently,
I am using Telerik treeview in MVC3 Razor view to display tree structured information.
I am creating a TreeView at runtime. It has several nodes(TreeViewItem), each one having
I am using a treeview to display projects, tasks, time entries, and the people
How do I display Items that are Checked from a treeView in a listBox
Currently I'm developing a multi-thread application. I use a TreeView to display the states
Ok, I have a treeview which I am using to display a number of
I'm using a TreeView along with a HierarchicalDataTemplate to display a Hierarchical listing returned
I am using the jQuery TreeTable plugin to display a tree of tabular data,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.