Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Dialog box too large. Non-ergonomic text reading. (in campaign introductions / story telling) #4817
The dialog box are really large in campaign introduction.
Personally I've always hated restricted-width text in web-site design - it's been around for many years, long before 'responsive' design was a thing. But I recognise I'm very much in the minority with this opinion.
Anyway, I assume this request is to do with the story scenes, and yes, they do use as much of the available width as possible, at present.
Worth noting that the current story screen UI's measurements have remained almost entirely unchanged from the ones I used when refactoring the GUI1 version one decade ago.
Back then I rewrote the whole code from a flat monolithic unit akin to the old Credits screen into something more modular in order to implement a few aesthetic changes including the
Come 2012, I finally got a desktop and a 1920x1080 screen. Since then, for every UI I have touched that didn't have a horizontal size limit already set, I have added one. It's not just a design trend, it's a standard intended to reduce the amount of eye movement required to continue scanning a single paragraph. In general, the longer the distance your eyes need to travel from the end of one line to the start of another, the more easily some people can become distracted from parsing the actual content. (On the other hand, do note that eye strain from spending prolonged periods of time looking at a screen is a whole different issue that's completely beyond the scope of this ticket or Wesnoth in general.)
With the background for the current situation out of the way, I agree that in this world of ridiculously huge screens we need to fix this. Not quite sure yet exactly how the line length limit should be implemented, though. It could be either in characters per line, or pixels. It could be either fixed (e.g. 1280 pixels) or variable (2/3 of the screen) or a mix of the two (5/6 of the screen between 800 and 1280 pixels, then 1280 pixels for higher resolutions).
Before somebody goes and randomly commits a quick WML change (because, let's face it, some people are too eager to get a PR in) I'd be interested in seeing what different possibilities look like with the average text density we have in mainline story screens, and also compare to more text-heavy story screens found in UMC.