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
Wrapping Compiler and Messages lines #3834
Comments
Apparently it is possible to do - python code, not tested: |
According to the GTK wrap-mode link in your OP the Note the Python code sets |
@elextr No, it's in the WIP commit.
The python tree view callback didn't work. |
I had a short time to try things. Based on your status window code, set Testing with status window on the right so the width can be changed with the pane separator sees wrapping happen fine at the set But row heights are not recalculated, it is calculated when data is first added to the row and left at the height needed for Your attempt to use the callback to reset Alternatively given the uses it should be enough if we can calculate the right value for I have run out of time now, over to you. |
It would be good to have a popup menu check box to wrap lines.
There is a wrap property to render treeview lines, but I can't get that to work. Here's my branch:
https://github.com/ntrel/geany/commits/msgwin-wrap/
Even if you call
g_object_set
when the cell renderer is created, it still doesn't work because of a GTK bug:https://stackoverflow.com/questions/17597043/gtk-cellrenderertext-makes-itself-really-tall-when-i-wrap-it
It was closed as won't fix:
https://gitlab.gnome.org/GNOME/gtk/-/issues/12
The text was updated successfully, but these errors were encountered: