diff options
author | 2024-05-08 19:16:20 +0900 | |
---|---|---|
committer | 2024-05-08 19:16:20 +0900 | |
commit | ff26fb7df43bd241253af85e0621e2cc030e9cec (patch) | |
tree | 2b3272bb178f8757169511966589fe6a106733f4 /examples/editor | |
parent | 0ebe0629cef37aee5c48b9409fc36618a3a3e60d (diff) | |
parent | 477887b3870aa5fbdab96c3a06f3b930462d7842 (diff) | |
download | iced-ff26fb7df43bd241253af85e0621e2cc030e9cec.tar.gz iced-ff26fb7df43bd241253af85e0621e2cc030e9cec.tar.bz2 iced-ff26fb7df43bd241253af85e0621e2cc030e9cec.zip |
Merge branch 'iced-rs-master' into viewer_content_fit
Diffstat (limited to 'examples/editor')
-rw-r--r-- | examples/editor/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/editor/src/main.rs b/examples/editor/src/main.rs index ed16018a..af05031a 100644 --- a/examples/editor/src/main.rs +++ b/examples/editor/src/main.rs @@ -277,7 +277,7 @@ fn action<'a, Message: Clone + 'a>( label: &'a str, on_press: Option<Message>, ) -> Element<'a, Message> { - let action = button(container(content).width(30).center_x()); + let action = button(container(content).center_x().width(30)); if let Some(on_press) = on_press { tooltip( |