Two issues:
1. When I try to create a custom view with the pyui I am unable to created rounded corners, but if instead I create the custom view without the pyui I get rounded corners.
2. When I try to use
How do I solve this? Thanks for any help!
Here is an example that illustrates both:
```python
import ui
class customButton(ui.View):
def init(self,frame=(0,0,300,100)):
self.corner_radius = 8
self.frame = frame
self.text = 'why does only one of these have rounded corners and neither have bold text?'
def draw(self):
path = ui.Path.rounded_rect(0,0, self.width,self.height,self.corner_radius)
ui.set_color('green')
path.fill()
ui.draw_string(self.text,(0,0,self.width,self.height),('
the pyui file consists of a single custom view, with
x=20
y=200
width=300
height=100
custom view class = customButton
v = ui.load_view()
cbn = customButton()
v.add_subview(cbn)
v.present('fullscreen')

