Label
should layout its content accordingly when parent
Window
is resized. Note that this only effective on Store apps because you can't resize Window on phone apps.
*Expected*
Label
should resize its content when parent
Window
is resized.
*Actual*
Label
is not resized.
var _window = Ti.UI.createWindow();
var label = Ti.UI.createLabel({
height: Ti.UI.SIZE, width: Ti.UI.FILL,
top: 0,
text: 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.'
});
_window.add(label);
_window.open();
https://github.com/appcelerator/titanium_mobile_windows/pull/952
Verified fixed in 6.1.0.v20170317104120 was able to see resize label when Window was resized. *Test Steps* + Create a new classic titanium project + Copy the code provided in the description + Run the program from command line using the command
appc run -p windows --wp-sdk 10.0 --target ws-local -l trace
+ Resized the window and noticed label resized as well *Environment*