• Owen W. Taylor's avatar
    Add support for colored borders · 2a0adc0f
    Owen W. Taylor authored
    Use BigRectangle to draw the border and background if there's
    a border width or border radius and no border image. (Only
    uniform borders are supported for now with some deviations
    from the CSS model noted in the comments.)
    The background color and image parameters are removed from
    StWidget's draw_background() method since they were not used
    for StButton (the only current user) and the encapsulation
    break that they presented caused some minor problems.
    Add a test case for borders, and also use borders to style
    the buttons in the 'inline-style' test case.
Last commit
Last update
border-image.png Loading commit data...
test.css Loading commit data...
ui.js Loading commit data...