It looks like this:
System -> Every tick -> TextObject -> Set text to "Default resolution:640,480. Now: " & WindowWidth
When dealing with behaviors, never use dt. Behaviors generally already use it internally (at least, all official ones do).
But in Ashley's tutorial about delta-time and frame independence is written that physics behavior is an exception and it does not use delta time. Right?