Alternate color on tree

Bug #1698589 reported by hilaire on 2017-06-17
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Dr. Geo II
Low
Unassigned

Bug Description

The items in the tree structure in the left part of the DrGeo window are not right
The background of the items should alternate with white and gray. Now it is only white.

Changed in drgeo:
importance: Undecided → Low
tags: added: user-interface
Nicolai Hess (nicolaihess) wrote :

Yes, I do remember this when pharo launcher changed to use pharo 5.
Some code for setting the secondary color was removed in initialization.
Maybe because it wasn't theme aware.

Nicolai Hess (nicolaihess) wrote :

possible fix:

DrGTreeMorph

initialize
 "initialize the state of the receiver"
 super initialize.

 rowColors := Array
  with: self theme backgroundColor lighter
  with: self theme backgroundColor darker.

hilaire (hilaire-fernandes) wrote :

It is a fix!

Changed in drgeo:
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers