New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UI improvements #3
Conversation
…er UI overall (no line between message and info, smaller info-text, etc)
Looks much better than before! Another suggestion: Would it be possible to make the bubbles only as high as necessary? Right now a single message is stretched vertically to fill the entire chat area, with a lot of whitespace in it. |
Sadly, that is not as easy as it sounds, because of the way Qt calculates the height of contents in the scrollable area. |
<width>600</width> | ||
<height>454</height> | ||
<width>561</width> | ||
<height>400</height> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this change intentional?
Wow, this looks much better.
|
… in the corresponding .ui-files)
Not really, I reverted it. I tried to make the window smaller, but for some reason I can't resize it to less than 1058px on OS X. Do you have any idea?
Could you show me a screenshot? On my OS X machine, I can't reproduce this.
Should be fixed now (?) but I can't test it because, as I said, I can't make the window small enough. |
Oh, I see now. |
By the way, why aren't you using QML? (This is a real question, not a critique, I never worked with "classic" QT or QML before.) |
Hmm, thanks to @KL7000F I just realized text wrapping doesn't really work as intended. On my OS X machine, long text just gets cut at line end and not wrapped around at all. |
Here is a Screenshot from Ubuntu that shows the error: |
Take a look at the changes in https://github.com/blizzard4591/openMittsu/tree/uiEditBySimmacPullReq3 This should fix the font issues. Still investigating on the Line Break/Resize stuff. |
* Switched to native menu bar on Mac OS. * Fixed issue with italic font going out of bounds (by adding a space at the end). Enabled word wrap on Location and textchatwidgetitem.
Meh, just realized that this probably does not fix every issue. If the line gets wrapped, all wrapped lines will still be cut off. |
The current changes from simmac looks fine under ubuntu. The italic text now good at the end. |
I tried building a minimal example for a bug report and can not get it to fail as nicely as on the screenshots. There seem to be special cicumstances here. Ideas? |
What's exactly the big problem? |
Now tracking externally under https://bugreports.qt.io/browse/QTBUG-53502 The minimal example required the text-alignment attribute "AlignRight" to trigger the bug. |
Ok. Since your UI changes are way to good to keep them from the users, I will merge this and fix the italic font issue later on :) |
There is still a lot to be done, but I tried to solve the worst UI problems.