-
Notifications
You must be signed in to change notification settings - Fork 51
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
Can i have help changing listed behavior of tksheet ? #186
Comments
Hi,
You can disable cell auto resizing when editing cells completely with the argument
or with The specific part of the code that deals with resizing the cell upon opening is: text = "" if text is None else text
if self.cell_auto_resize_enabled:
self.set_cell_size_to_text(r, c, only_set_if_too_small=True, redraw=True, run_binding=True) It's in the
I won't be working on this functionality for some time, I am not sure of the best way to implement it sorry but there would have to be communication between the dropdown window and the text editor, these two are in the
Sorry, I'm not sure what you mean, is focus not being applied to the text editor when you press Enter on a cell? |
Thank you for your response. Focus is being applied but I can't write text on the cell without reclicking on the focused cell. |
I cannot think why this is happening sorry, is there any way you could provide a minimal example and which version of tksheet you're using? |
I have the issue with this piece of code, my version is 6.1.2.
I upgraded to the latest version which is "6.1.9" and the problem has been solved. I work with PyCharm hence the fact that i didn't have installed the latest version to start with. |
but with this example the problem seems to persist with the drop down columns. The dropdown list doesn't drop after pressing TAB and arriving on it. |
Ah, I think this is the behavior I programmed for, Would you prefer the next dropdown box to open when pressing tab out of an existing one? I am not sure, it's not the behavior in excel and google sheets as far as I can tell, although it might be more convenient to have it this way... You could open it by using Tab -> Return I think |
Hello,
I have been going through your code for some time trying to edit it so that the sheet changes it's behavior, here are the behaviors i would like to change :
tab_key(self, event=None)
function of the MainTable class, replacingself.see
byself.select_cell
but it doesn't work.'double_click_column_resize'
and'column_width_resize'
but nothing changes. I still have the same issue.['ON','OFF']
drop down list and then press < Tab > the 'OFF' gets selected.If i can have any help on the functions i should focus on to add those features, please, it would be cool.
The text was updated successfully, but these errors were encountered: