Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-19132] Windows: Ti.UI.Switch cannot be positioned (absolute)

GitHub Issuen/a
TypeBug
PriorityNone
StatusClosed
ResolutionFixed
Resolution Date2015-07-08T15:04:46.000+0000
Affected Version/sRelease 4.1.0
Fix Version/sRelease 5.0.0
ComponentsWindows
Labelsn/a
ReporterFokke Zandbergen
AssigneeKota Iguchi
Created2015-07-01T12:45:24.000+0000
Updated2015-07-09T23:59:43.000+0000

Description

The following example and attached screenshot show that a Ti.UI.Switch cannot be positioned on Windows. It will always appear centered.
var win = Ti.UI.createWindow();
win.add(Ti.UI.createSwitch({
	top: 20,
	left: 20
}));
win.open();

Attachments

FileDateSize
Screen Shot 2015-07-01 at 14.42.29.png2015-07-01T12:44:44.000+000015815

Comments

  1. Kota Iguchi 2015-07-08

    https://github.com/appcelerator/titanium_mobile_windows/pull/364
  2. Lokesh Choudhary 2015-07-09

    Verified the fix. The switch now appears to be positioned appropriately. Closing. Environment: Appc Studio: 4.1.0.201507071122 Ti SDK: 4.2.0.v20150709100442 Ti CLI: 4.0.1 Alloy: 1.6.2 Windows: 8.1 Enterprise 64-bit APPC NPM: 4.1.0 APPC CLI: 4.1.0 Device: Nokia Lumia 928 - Windows Phone 8.1 Windows emulator : 8.1

JSON Source