CSS style resets on resize

Bugs will be moved here once resolved.

Post » Sun Mar 30, 2014 5:36 am

Needed to create a duplicate thread; last one was closed due to broken link. The URL was automatically shortened with a "..." because of its length, and then it was made plaintext because I didn't have enough rep for hyperlinks. Now I do. That should probably be fixed!

Problem Description
When the browser window is resized/fullscreened any CSS styles are removed.

Attach a Capx
https://dl.dropboxusercontent.com/u/257 ... s-bug.capx

Description of Capx
It is a simple modification of the multiplayer chat example which changes some CSS styles and runs at a different resolution.

Steps to Reproduce Bug
  • Resize the window
  • Cry
  • Use disabled event provided in capx to try and reapply CSS styles for Browser: On Resize
  • That doesn't work either

Observed Result
The text becomes larger than it was before. I know the font size is proportional to window, but the proportion itself changes. If others can't reproduce this I can make a video.

Expected Result
The CSS style should not change.

Affected Browsers
  • Chrome: YES
  • ???

Operating System and Service Pack
Windows 7 x64 SP1

Construct 2 Version ID
beta r165
B
12
S
3
Posts: 39
Reputation: 1,001

Post » Thu Apr 03, 2014 5:48 pm

Closing, you have 'auto font size' set to 'yes' and this will conflict with your own attempts to set the CSS font-size. Either set auto font size to 'no' or don't set the font-size CSS.
Scirra Founder
B
387
S
230
G
87
Posts: 24,248
Reputation: 192,238


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 1 guest