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

Task name wrapping #65

Closed
rustedwolf opened this issue Jul 3, 2015 · 3 comments
Closed

Task name wrapping #65

rustedwolf opened this issue Jul 3, 2015 · 3 comments

Comments

@rustedwolf
Copy link

Sometimes task name is just too long, so it pushes second column to side and a scrollbar at the bottom appears.
Can we expect some task name wrapping on/off feature?

@Manuel-Kehl
Copy link
Owner

You can definitely expect that to happen as I would love to see that feature too. I will however not find any time for free time development during this month... I will let you know when I start working on it 😉

@JMoerman
Copy link
Collaborator

Adding

text_cell.wrap_width = 240;
text_cell.wrap_mode = Pango.WrapMode.WORD_CHAR;

to TaskList.vala gets you some basic wrapping.
A side effect of this is that some horizontal space is reserved for when the column is at its minimum width (~240 here), so if you expand the window you wont get this horizontal space back.

This could be fixed by updating text_cell.wrap_width whenever the treeview is re-sized, but you would need some way to know the available space for the text column.

(This doesn't fix the issue of the window re-sizing when you click on a task with a very long name...)

@JMoerman
Copy link
Collaborator

JMoerman commented Oct 2, 2017

This is fixed in 1.6.0

@JMoerman JMoerman closed this as completed Oct 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants