Skip to content

Conversation

m1ga
Copy link
Contributor

@m1ga m1ga commented Jul 8, 2025

Dashed border:

Screenshot_20250708-152944

var win = Ti.UI.createWindow({
	layout: "vertical"
})

let views = [];

function addView(dashed) {
	var view = Ti.UI.createView({
		borderWidth: 5,
		borderColor: "yellow",
		width: 100,
		height: 100,
		backgroundColor: "red",
		bottom: 20,
		dashed: dashed,
		title: "test"
	})

	var lbl = Ti.UI.createLabel({
		text: "test",
		touchEnabled: false
	});
	views.push(view);
	view.add(lbl);
	win.add(view);
}


addView();
addView([10, 100, 50, 200]);
addView([20, 5]);
addView([20, 20]);

win.open()
  • only creation only (it doesn't rerender the views yet)
  • only if no borderRadius is set

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant