Full image in Background in a vBox in Flex -


The following code was written to set me a background image in a vBox.

  vBox.setStyle ("background image", "previewbackground page"); VBox.setStyle ("Background Virtual", "Fixed");  

Where the height and width of the vBox were 250 x 350 and the height and width of the background image was 400 x 400. The problem is that the background image does not show the whole image. Image Croped How can I show the whole image as a background image?

In advance thanks

  vBox.setStyle ("background size" , "100%"); Check the style of   

container category


Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -