I was creating a mockup for an login settings window, and when i came to the option for "auto logout", i was wondering if it should be a spinbox, allowing the user to set any value (in minutes), or a combobox with set values (i.e. "Never" / 15 minutes / 30 minutes / 1 hour / 4 hours / etc).
Looking for some patterns, i basically came across both options. A few examples from windows:
Is there any rule for which too use?