reveal 2020-10-06

Is there a way to set min-width for a column in a custom table view? It lookes like it's fixed 40 https://github.com/vlaaad/reveal/blob/8d006a0344c14228c33670a0fdbb3d7302e1a3d3/src/vlaaad/reveal/view.clj#L244 ?

hi! there is no way to set min-width since it’s hard-coded 🙂

why do you want smaller columns?

I want larger columns 😉

the description on the top is not really readable. It seems to auto resize the column width only for the values

ah, yeah, that looks like a problem…

I’ll see what I can do, there is probably a way to make JavaFX not shrink those headers

that would be nice. but what about just also considering the :min-width key if it's set? That should be an easy fix, no?

Easy, yes, but then to benefit from that knob you have to use it explicitly

e.g. create {:fx/type rx/table-view} and view it

but there is also table-view action that can’t do that

Sure. In my use case I did evaluate an rx/table-view and viewed it. So it would be enough there. For the normal table-view it's obviously different.