So using lines
it'll show perfectly 1 less than the value provided and shows half a line when =1
. This is an issue when trying to use dynamic_lines
as when there is 1 entry it shows half the entry, for 2 itll show the one (with scroll ofc).
https://imgur.com/a/gDRzyJT first image there is only 1 option and it shows half second image, lines = 8 and shows 7 third image it shows 1 for 2 lines
gist of my style.css: https://gist.github.com/ahmedmahmud/713bfd62be662fe4c15438487ef9bcf4
I see the proper widget layout breakdown and this is probably due to my sus styling, ill try experiment
Sooooo lines are...a bit of a hack internally because GTK really doesn't make it easy to handle sizing that way. I'm sure I can fix this but I really should try to find a better solution so that it doesn't randomly break at some point in the future.