Nuklear icon indicating copy to clipboard operation
Nuklear copied to clipboard

Horizontal rule

Open FrostKiwi opened this issue 3 years ago • 1 comments

grafik This widget draws a horizontal rule line, like the classic html rule below this sentence.


This allows one to subdivide spaces a bit nicer. The last parameter of the widget is whether or not to apply rounding. If set to true, it will apply rounding, so the line always appears to be rounded off, the "pill shape". The height is automatically determined by the current row height. I didn't want to create a rule.c just for this, so I included it at the end of nuklear_window.c and the definition+documentation in Window section of nuklear.h.

FrostKiwi avatar Apr 15 '22 04:04 FrostKiwi

Thanks @FrostKiwi ! This is looking good

crazyBaboon avatar Apr 15 '22 07:04 crazyBaboon

Actually, could we make use of the horizontal bar in one of the demos?

RobLoach avatar Aug 03 '23 15:08 RobLoach

Could we get this merged? I can add an example to the demo if nobody wants to do it.

yukyduky avatar Oct 13 '23 09:10 yukyduky

Actually, could we make use of the horizontal bar in one of the demos?

Adding example to OVERVIEW

FrostKiwi avatar Oct 17 '23 02:10 FrostKiwi

@RobLoach @yukyduky Added a showcase to the Overview kitchen-sink demo. image

FrostKiwi avatar Oct 17 '23 02:10 FrostKiwi

This is fantastic. Thanks so much, all.

RobLoach avatar Oct 17 '23 03:10 RobLoach