Fixes: NB#237124 - MLabel component does not draw all of the text in portrait mode when using rich text with paragraphs
Fixes: NB#237124 - MLabel component does not draw all of the text in portrait mode when using rich text with paragraphs

RevBy: Stanislav Ionascu, Armin Berres
MergeRequest: 1562

ModifiedBy: Stanislav Ionascu
Modified: Added fallback path to query active window orientation in case if scene manager is undefined yet.
Moved tileOrientaion to constructor initialization list.

Details:
The rich label was checking the current orientation from the orientation
tracker but when an application is launched in a locked orientation mode, the
orientation tracker will still give the angle of the system (which might
be different than the current application's). This ended up eventually setting
the label's tiles' height according to that wrong orientation.
These changes update the label's orientation from the MSceneManager's one
instead of the orientation tracker's, which fixes the case above.

nemomobile-graveyard/libmeegotouch,nemomobile-graveyard/libmeegotouch,nemomobile-graveyard/libmeegotouch,nemomobile-graveyard/libmeegotouch,nemomobile-graveyard/libmeegotouch,nemomobile-graveyard/libmeegotouch