diff --git a/native/src/widget/pane_grid/content.rs b/native/src/widget/pane_grid/content.rs index 98ce2c4b..8d26c3d8 100644 --- a/native/src/widget/pane_grid/content.rs +++ b/native/src/widget/pane_grid/content.rs @@ -115,6 +115,16 @@ where let show_controls = bounds.contains(cursor_position); + self.body.as_widget().draw( + &tree.children[0], + renderer, + theme, + style, + body_layout, + cursor_position, + viewport, + ); + title_bar.draw( &tree.children[1], renderer, @@ -125,16 +135,6 @@ where viewport, show_controls, ); - - self.body.as_widget().draw( - &tree.children[0], - renderer, - theme, - style, - body_layout, - cursor_position, - viewport, - ); } else { self.body.as_widget().draw( &tree.children[0],