Don't crash when the vigil window is made very small.

This is a workaround, not being able to get very small appearances is still
there. For now the main appearance won't shrink below a width of 10
or a height of 20, but thats okay since the interface is already impractical
at that point. The minimum appearance is then cropped to fit the window.
This commit is contained in:
Andrew Hamilton 2016-01-26 09:54:24 +00:00
parent 4f802b2a11
commit 5d1c124d8e
2 changed files with 10 additions and 5 deletions

4
BUGS
View file

@ -5,7 +5,6 @@ Current
e.g. vigil.py pylint, BUGS metadata, BUGS _pygments
- Scrolling in the help screen doesn't work with the arrow keys.
- Within the sandbox sudo is not working for tools.
- There is an exception if vigil's window is made too small.
Current (tool related)
@ -207,6 +206,9 @@ Fixed
<- 'Watching' is never off now
- When the filesystem changes a lot vigil is syncing the summary repeatedly
for each part in a queue of changes. Needs to empty the queue then sync.
- There is an exception if vigil's window is made too small.
<- When the window is narrower than 10 or shorter than 20 the contents
start to crop instead of shrink.
On hold, run-tool related