Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-24824] Windows: Horizontal layouts do not behave correctly with 'right'

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionInvalid
Resolution Date2017-06-15T01:25:39.000+0000
Affected Version/sRelease 6.1.0
Fix Version/sn/a
ComponentsWindows
Labelsn/a
ReporterGary Mathews
AssigneeKota Iguchi
Created2017-06-14T23:57:46.000+0000
Updated2017-06-15T01:25:39.000+0000

Description

Views contained in a horizontal layout using right do not display correctly.
var win = Ti.UI.createWindow({title: 'TIMOB-24277', backgroundColor: 'gray', layout: 'horizontal'}),
    a = Ti.UI.createView({
        height: 100,
        width: 100,
        borderColor: 'red',
        borderWidth: 5,
        backgroundColor: 'blue',
        right: 10
    }),
    b = Ti.UI.createView({
    	height: 100,
    	width: 100,
    	borderColor: 'purple',
    	borderWidth: 5,
    	backgroundColor: 'orange',
    	right: 10
    });

win.add([a, b]);
win.open();

Comments

No comments

JSON Source