The feature that allows owners to see the names of people who viewed their files in OneDrive does not mention any specific limit on the number of viewer names displayed. However, it is noted that the file viewer information is recorded and available for auditing, even if not all names are visible at once. Unfortunately, there is no indication in the provided context that there is a setting to increase the limit beyond what you are currently experiencing.
If you are encountering a limit of 25 names, it may be a design choice or a limitation of the interface rather than a configurable setting. For further assistance, it might be helpful to check with Microsoft support or the SharePoint community for any updates or workarounds.
References: