like the title says its my opinion
a lot of time can be spend on it ;)
More importantly, it's a role on its own, even UI programmer is a role
Why? Because it's so damn important and complicated. Even if you make a good game and skrew the UI, then you skrew the game as well: the players won't be engaged and/or won't understand how to play, what to do
I spend months and months, at this point even more than a year to improve it, and it never seems enough
I agree albeit in my opinion UI design is mostly a craft you can learn and a small part an art where you rely on your talent. I have approached several projects with making a matrix (Excel-Sheet). The rows are the list of UI-screen. The columns are the criteria I consider necessary for a good UI:
In the matrix I mark every box whether I think the criterium in the column is met for the specific screen (I use a plus for good and a minus for bad) and fix what's bad.
Those criteria don't replace play-testing. It's more like a check if the UI is ready for play-testing. Typically I'd do some fine-tuning according to the feedback from play-testing.