Closed hecrj closed 2 weeks ago
... and also make center_x and center_y set width and height to Length::Fill, respectively.
center_x
center_y
width
height
Length::Fill
This targets the most common use case when centering things and removes a bunch of boilerplate as a result.
... and also make
center_x
andcenter_y
setwidth
andheight
toLength::Fill
, respectively.This targets the most common use case when centering things and removes a bunch of boilerplate as a result.