Simplify theming for Container widget
This commit is contained in:
parent
1f0a0c235a
commit
29326215cc
20 changed files with 275 additions and 186 deletions
|
|
@ -1,5 +1,5 @@
|
|||
//! Navigate an endless amount of content with a scrollbar.
|
||||
use crate::container;
|
||||
// use crate::container;
|
||||
use crate::core::event::{self, Event};
|
||||
use crate::core::keyboard;
|
||||
use crate::core::layout;
|
||||
|
|
@ -917,11 +917,11 @@ pub fn draw<Theme, Renderer>(
|
|||
}
|
||||
};
|
||||
|
||||
container::draw_background(
|
||||
renderer,
|
||||
&appearance.container,
|
||||
layout.bounds(),
|
||||
);
|
||||
// container::draw_background(
|
||||
// renderer,
|
||||
// &appearance.container,
|
||||
// layout.bounds(),
|
||||
// );
|
||||
|
||||
// Draw inner content
|
||||
if scrollbars.active() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue