| Issue 223: | CSS problem id | |
| 2 people starred this issue and may be notified of changes. | Back to list |
With the lastest git, when i use CSS for a widget with id, all CSS apply on
all widgets
Ex :
search = MTButton(id="play",label='Search', size=(350,60), pos=(40, 550))
w.add_widget(search)
box = MTButton(id="menu",label='The Box', size=(200,80), pos=(400, 680))
w.add_widget(box)
css : #play {
#bg-color: rgb(34,208,16);
bg-color: rgb(31,232,32);
color: rgb(255,255,255);
border-radius: 10;
border-radius-precision: .35;
border-color: rgb(67,253,48);
draw-alpha-background: 0;
font-size: 18;
bg-color-down: rgb(208,16,34);
border-color-down: rgb(253,48,67);
}
Full file is attached.
The CSS #play is use for all the code...
Jul 2, 2010
(No comment was entered for this change.)
Labels:
Milestone-0.5
|
Owner: txprog
Labels: Milestone-0.4.1 Component-Core