Add height method to Slider
This commit is contained in:
parent
72cfe85f7f
commit
9ba4cfd23f
3 changed files with 29 additions and 24 deletions
|
|
@ -197,9 +197,7 @@ impl checkbox::Renderer for Null {
|
|||
impl slider::Renderer for Null {
|
||||
type Style = ();
|
||||
|
||||
fn height(&self) -> u32 {
|
||||
30
|
||||
}
|
||||
const DEFAULT_HEIGHT: u16 = 30;
|
||||
|
||||
fn draw(
|
||||
&mut self,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue