core icon indicating copy to clipboard operation
core copied to clipboard

Chooser not aligned with TextField

Open j0hnsmith opened this issue 1 year ago • 1 comments

Describe the bug

When a time.Duration field is in a struct that's used in a table, the Chooser is taller than the TextField in the Spinner (for the value) which doesn't look great (maybe this should be an enhancement since it's only visually 'broken').

How to reproduce

Run the code below.

Example code

type SomeStruct struct {
    Took time.Duration
}
core.NewTable(b).SetSlice(&[]SomeStruct{{time.Duration(time.Minute)}, {time.Duration(time.Hour})

Relevant output

No response

Platform

macOS

j0hnsmith avatar Aug 17 '24 00:08 j0hnsmith

Thank you for reporting this. I will look into this and see what I can do.

kkoreilly avatar Aug 17 '24 00:08 kkoreilly