summaryrefslogtreecommitdiffstats
path: root/examples/tooltip
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-03-05 03:48:08 +0100
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-03-05 03:48:08 +0100
commit29326215ccf13e1d1e25bf3bf5ada007856bff69 (patch)
tree9a286433affc511da2d8926d0f6862b664184b56 /examples/tooltip
parent1f0a0c235a7729cf2d5716efeecb9c4dc972fdfa (diff)
downloadiced-29326215ccf13e1d1e25bf3bf5ada007856bff69.tar.gz
iced-29326215ccf13e1d1e25bf3bf5ada007856bff69.tar.bz2
iced-29326215ccf13e1d1e25bf3bf5ada007856bff69.zip
Simplify theming for `Container` widget
Diffstat (limited to 'examples/tooltip')
-rw-r--r--examples/tooltip/src/main.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/tooltip/src/main.rs b/examples/tooltip/src/main.rs
index a904cce0..c83b671f 100644
--- a/examples/tooltip/src/main.rs
+++ b/examples/tooltip/src/main.rs
@@ -1,4 +1,3 @@
-use iced::theme;
use iced::widget::tooltip::Position;
use iced::widget::{button, container, tooltip};
use iced::{Element, Length, Sandbox, Settings};
@@ -53,7 +52,7 @@ impl Sandbox for Example {
self.position,
)
.gap(10)
- .style(theme::Container::Box);
+ .style(container::box_);
container(tooltip)
.width(Length::Fill)