On Tuesday, 10 September 2013 23:25:49 CEST, Thomas Lübking wrote:
Another approach was to add an external scrollbar (ie. one that does not actually belong to the scrollarea, yet controls it) that spans along the entire envelope section (between from/to/cc/subject and the attachment view) This makes the entire thing behave much more like a regular scrollarea with "sticky" "from" and "subject" items.
I think that the scrollbar is a good option here -- I think I like that more than a QMenu-like buttons, and the remark about autorepeat rate is a relevant observation as well.
I cannot visualize whether the suggested design with an external scrollbar wouldn't look weird -- let's hope that the GUI indicators will make it obvious that there are more recipients than what is currently shown. Perhaps adding some "[...]" indicators at top & bottom if there are more items hidden in there?
Anyway, I'm open to creative ideas; perhaps it is actually not desirable to have the sender and subject always visible -- I don't really know. What I do know is that both attempts I was able to come up with sucked, and that it wasn't better when I tried the same a couple of months earlier. I don't love working with QWidgets and lack enough experience, so the more I can offload to someone else the better, and you look like someone who knows how to solve this and likes to work on UI polish. I'll do my best to avoid a ping-pong of "nah, I don't like this after all" this time.
-> Preferences? (Depends much on whether like 20 stashed cc elements or more are a usecase)
I occasionaly send emails to tens of recipients.
QScrollArea::setWidgetResizable(bool resizable) is guess.
Could be, but IIRC I set that already. I suspect that this happened because the QFormLayout works on "fixed rows" and is not designed to "resize stuff that can be resized to better utilize the space".
Cheers, Jan -- Trojitá, a fast Qt IMAP e-mail client -- http://trojita.flaska.net/