pencere

Components / Controls

u:rule

A rule: a line of the theme's line a point thick, across or down what it is in.

A rule: a line of the theme's line a point thick, across or down what it is in. A rule: a line of the theme's line a point thick, across or down what it is in.

The code

local bar = pencere.div():row():items_center():gap(10):h(24)
	:child(pencere.text("main"))
	:child(u:rule("y"))
	:child(pencere.text("3 changed"):color("dim"))
	:child(u:rule("y"))
	:child(pencere.text("Ln 12, Col 4"):color("dim"))
return pencere.div():gap(12):w(300)
	:child(pencere.text("Changes"):weight(700))
	:child(u:rule("x"))
	:child(bar)

What it does

A rule: a line of the theme's line (or color) a point thick, across ("x") or down ("y") what it is in.

kit/sandbox/library/ui/basic.luau, line 319