#5362 NORM Never A: Toggle Buttons with images result in white-on-white text on mouseover

Zarro Boogs per Child bugtracker at laptop.org
Wed Dec 5 23:20:27 EST 2007


#5362: Toggle Buttons with images result in white-on-white text on mouseover
-----------------------+----------------------------------------------------
 Reporter:  bemasc     |       Owner:  marco         
     Type:  defect     |      Status:  new           
 Priority:  normal     |   Milestone:  Never Assigned
Component:  gtk-theme  |     Version:                
 Keywords:             |    Verified:  0             
-----------------------+----------------------------------------------------
 GTK allows me to create buttons with both text and images in them. e.g.:
         check = gtk.Image()
         check.set_from_file('check.svg')
         self._run_button = gtk.ToggleButton(gettext("Start/Stop"))
         self._run_button.set_image(check)

 This works.  When the button is pushed-in, the background turns white, and
 the text turns black.  However, on mouseover, the text turns white, making
 it invisible.

 This affects my StopWatch activity
 (http://dev.laptop.org/~bemasc/screenshot.png). It also affects the latest
 version of Distance (formerly Acoustic Tape Measure), now that I have
 added a shortcut key icon to the toggle button.

-- 
Ticket URL: <http://dev.laptop.org/ticket/5362>
One Laptop Per Child <http://dev.laptop.org>
OLPC bug tracking system



More information about the Bugs mailing list