Skip to content
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

How to make "Message" column wrap text? #91

Open
UEPSs opened this issue Oct 1, 2022 · 3 comments
Open

How to make "Message" column wrap text? #91

UEPSs opened this issue Oct 1, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@UEPSs
Copy link

UEPSs commented Oct 1, 2022

image
The Message column initially is not wrapping text, after I resize window, it starts to wrap text. How to make it wrap text by default?

@UEPSs
Copy link
Author

UEPSs commented Oct 2, 2022

It seems that Message column width is calculated incorrectly.

@djonasdev
Copy link
Owner

Thank you for your feedback.
As far as I can remember, I implemented an automatic width adjustment. This means that the width is always adjusted so that the entire text can be read and you don't have to adjust the column width manually every time.

If you do not want this behavior, you would have to implement a corresponding logic or text wrapping. You are welcome to start a PR and upload a corresponding draft.

@djonasdev djonasdev added the enhancement New feature or request label Oct 4, 2022
@UEPSs
Copy link
Author

UEPSs commented Oct 9, 2022

When there is new item added to log view, ListViewLayoutManager.ResizeColumns() is called. By debugging, I find when ListViewLayoutManager.ResizeColumns() is called, layout does not finish and column widths read in this method are still old values, so otherColumnsWidth and fillWidth local variable is calculated incorrectly. #93

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants