Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Splash image is small #15

Open
ewanyuan opened this issue Nov 2, 2020 · 1 comment
Open

Splash image is small #15

ewanyuan opened this issue Nov 2, 2020 · 1 comment

Comments

@ewanyuan
Copy link

ewanyuan commented Nov 2, 2020

Hi guys, could you help me? The splash image is small leaving other space white blank.
image

code is:
home: AnimatedSplash(
imagePath: 'static/img/splash.png',
home: IndexPage(),
customFunction: duringSplash,
duration: 2500,
type: AnimatedSplashType.BackgroundProcess,
outputAndHome: returnValueAndHomeScreen,
),

@jdeltoft
Copy link

jdeltoft commented Dec 27, 2020

I agree, tried center and expand around the AnimatedSplash() but no luck so far.

UPDATE: ah, I see. My image needed to be saved without the full "page" size in inkscape.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants