Skip to content

drag column separator to resize previous column#3044

Open
midichef wants to merge 3 commits intosaulpw:developfrom
midichef:drag_resize_col
Open

drag column separator to resize previous column#3044
midichef wants to merge 3 commits intosaulpw:developfrom
midichef:drag_resize_col

Conversation

@midichef
Copy link
Copy Markdown
Contributor

Closes #3039.

Some things of note in this PR: for every click, the final command in the status bar is no longer no-op but check-drag.
It removes what I think is the last use of @Sheet.command. I don't know if the addCommand() that I changed it to is sufficient. It seems to work, but I'm not sure why @Sheet.command was originally used:

def _command(cls, binding, longname, helpstr, **kwargs):
def decorator(func):
funcname = longname.replace('-', '_')
setattr(vd, funcname, func)
cls.addCommand(binding, longname, f'vd.{funcname}(sheet)', helpstr, **kwargs)
return decorator
BaseSheet.command = classmethod(_command)

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

Successfully merging this pull request may close these issues.

drag column separator with mouse to resize previous column

1 participant