[WIP] Add support for line widgets

first draft