updated constructors of resource widget.

new functionality.
You can change orientation and enable displaying of resource that
contains 0 amount of it's type of resource