Sizing Backgrounds in Themes
2717 0 1We are trying to add a background (default and otherwise) to our theme. The image we're adding is sized appropriately for the 1010x600 screen. When we apply the background to a project, it stretches it outside the bounds of the default size of the screen (like 1550+ wide). Any ideas on this? Do we need to modify our image somehow?
Answers ( 1 )
Hi Jason!
The background image added to a theme will scale from the center to fit the browser.
In Claro, though, we've recognized that this isn't an expected behaviour like in a Flow project. In the upcoming feature release we are changing the default behavior to be fixed position like everything else in Claro, anchored at the upper left corner. (So a 1010x600 image would be perfect, and if a background image is larger than the stage size it will be cut off on the right/bottom at the stage size.)
Comments
( 0 )