From 2b682aea1b971ea6d96af4d7b6c292e60b5092a9 Mon Sep 17 00:00:00 2001 From: mostafaei2002 Date: Sun, 9 Jun 2024 18:13:50 +0330 Subject: [PATCH] fix: change logo & link to horizontal --- src/app/panels/middle/xvb.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/app/panels/middle/xvb.rs b/src/app/panels/middle/xvb.rs index ca36039..88f9a88 100644 --- a/src/app/panels/middle/xvb.rs +++ b/src/app/panels/middle/xvb.rs @@ -43,9 +43,10 @@ impl crate::disk::state::Xvb { let space_h = height / 48.0; // logo and website link - ui.vertical_centered(|ui| { + ui.horizontal(|ui| { + ui.add_space(width / 2.0 - 150.0); ui.add_sized( - [width, website_height], + [100.0, website_height], Image::from_bytes("bytes:/xvb.png", BYTES_XVB), ); ui.style_mut().override_text_style = Some(TextStyle::Heading);