Skip to content

Fix initial size#1709

Merged
doutriaux1 merged 5 commits intomasterfrom
fix_initial_size
Dec 1, 2015
Merged

Fix initial size#1709
doutriaux1 merged 5 commits intomasterfrom
fix_initial_size

Conversation

@chaosphere2112
Copy link
Copy Markdown
Contributor

Added a test for initial sizing of window (you can pass a geometry kwarg to vcs.init to specify window dimensions), and fixed some issues with the logic. Also tests to make sure open(width=X, height=X) works properly.

@chaosphere2112 chaosphere2112 added this to the 2.4 milestone Nov 25, 2015
@aashish24
Copy link
Copy Markdown
Contributor

@chaosphere2112 flake8_vcs is failing..

@aashish24 aashish24 closed this Nov 28, 2015
@aashish24 aashish24 reopened this Nov 28, 2015
fix flake8?
@aashish24
Copy link
Copy Markdown
Contributor

@chaosphere2112 @doutriaux1 lot of tests are failing on Linux-RH6. Looking into it.

@aashish24
Copy link
Copy Markdown
Contributor

@doutriaux1 could it be because of VTK SHA (wrong one)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that's essentially what the old code was doing, why the more complicated lines?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because width and height are always passed into this function by the caller, though most of the time they are None.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see, thx

doutriaux1 added a commit that referenced this pull request Dec 1, 2015
@doutriaux1 doutriaux1 merged commit f841c76 into master Dec 1, 2015
@chaosphere2112 chaosphere2112 deleted the fix_initial_size branch February 12, 2016 23:14
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.

3 participants