rzyns / macvim

Automatically exported from code.google.com/p/macvim
0 stars 0 forks source link

Font changes the width of vim #462

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

In all versions that I have tried of MacVim, the window has some frusterating 
resizing issues.

It seems most of the problems come down to the font i'm using:

`set guifont=Anonymous\ Pro:h14`

If I change the font size bigger or smaller it seems to mitigate the issue, but 
that isn't an ideal option.

Basically, when I open a new tab, the window 'jiggles' to the left about 10 
pixels. I have to move the window back again after I open a new tab.

I have tried setting `showtabline=2`, and that just introduces more problems. 
The window at least stays a bit more in place, but now when I go to resize it 
bumps it DOWN as well (so 5px down, 10 to the left).

Even leaving the window open... fixing it, clicking command+h to hide it, then 
clicking the icon to re-show it will move it back once again. This is mostly 
frustrating when I want my windows to where I leave them.

It seems ultimately this is all because the 'increments' for 99% of mac apps 
are very fine (1px increments). In macvim, the resize increments are based on 
your font size.. as in when you drag the window bigger it is 'choppy' matching 
the monospace font (so every 5-10px it will 'jump' to the next size). 

Is there any way to just make the resizing very smooth, as I think all these 
problems would disappear if the vim window resized on a per-pixel increment.

Original issue reported on code.google.com by the.ener...@gmail.com on 16 Jul 2013 at 4:24

Attachments: