72
Views
4
Comments
Solved
How to make an image take the full-with of a screen
Application Type
Reactive

Hi,

I'm trying to build an app, and I want to make an image takes the full-with of the screen whatever the size of the screen, like this one :

here's mine :

as you see the image is not full-height of the screnn like the first one:

here's the .oml file


could you help please

SRV.oml
2023-04-16 15-25-31
Krishnanand Pathak
Solution

Hi,

You need to use Layouts\LayoutBlank or create your custom layout.
As the padding is caused by your current layout.

Thanks

Krishnanand Pathak

UserImage.jpg
you asen

where please ?

2023-04-16 15-25-31
Krishnanand Pathak

On the screen where the full width image required.
Or you can create custom layout which contains full width image and use it on screens.

UserImage.jpg
you asen

thanks I did so, but I see the scroll appears when I resize the screen, I dont want to the scroll appears whatever the size of the screen is.

you coul see the change which I made in the .oml

could you help pleaes ?

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.