#3742 LOW Untriag: CanvasRoundBox ignores border_color

Zarro Boogs per Child bugtracker at laptop.org
Mon Sep 24 08:06:35 EDT 2007


#3742: CanvasRoundBox ignores border_color
--------------------+-------------------------------------------------------
 Reporter:  morgs   |       Owner:  marco             
     Type:  defect  |      Status:  new               
 Priority:  low     |   Milestone:  Untriaged         
Component:  sugar   |     Version:  Git as of bug date
 Keywords:          |    Verified:  0                 
--------------------+-------------------------------------------------------
 In Chat-activity, I need to set the border_color to the buddy's stroke
 color.

 Passing border_color to __init__ doesn't work as it is overridden to
 COLOR_BLACK, so I have to set it separately:

 {{{
             rb = CanvasRoundBox(background_color=color_fill_int,
                                 border_color=color_stroke_int,
                                 padding=3)
             rb.props.border_color = color_stroke_int
 }}}

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



More information about the Bugs mailing list