spaceline-all-the-icons.el icon indicating copy to clipboard operation
spaceline-all-the-icons.el copied to clipboard

Rendering issues - Customisable Separator Height

Open psamim opened this issue 7 years ago • 8 comments

Hi, I have some rendering issues as below:

image

Thanks

psamim avatar Jul 20 '17 07:07 psamim

Hey @psamim,

What font & theme are you using? :)

domtronn avatar Jul 20 '17 07:07 domtronn

Thanks for the quick reply. I am using the defaults I think, default dark-theme and the following font config.

   dotspacemacs-default-font '("Source Code Pro"
                               :size 15
                               :weight normal
                               :width normal
                               :powerline-scale 1.1)

psamim avatar Jul 20 '17 08:07 psamim

So, the problem is with the powerline scaling with "Source Code Pro", basically, the font is slightly bigger than the separators, hence why you get the gap. If you set the :powerline-scale back to 1.0 that should fix it.

However, you obviously want the powerline slightly bigger for a reason 🙂 So I could add a custom variable which scales the separators independently from the rest of the powerline - Which would allow you to tweak it until it looks right?

screen shot 2017-07-20 at 13 18 14

Which would result in the something like above. Let me know if you'd be interested in that? 👍

The other visual glitch (maybe?) is the colours, and how it goes from Yellow to Black rather than Purple. This is because of a new "feature" in Spaceline to make it "responsive"... It doesn't work very well with the separators so if this is an issue, you could try

(setq spaceline-responsive nil)

domtronn avatar Jul 20 '17 12:07 domtronn

Yes, after setting :powerline-scale to 1, it seems fine. Is there any way to remove the tiny vertical lines?

image

psamim avatar Jul 20 '17 19:07 psamim

Hi, having similar issue. screenshot 2017-07-31 11 49 28

My fonts settings is

dotspacemacs-default-font '("Source Code Pro"
                               :size 14
                               :weight normal
                               :width normal
                               :powerline-scale 1.0)

I also tried (setq spaceline-responsive nil)

UPDATE Ok falling down to font-size 13 fixed issue! Anyways would be grate to fix this for bigger font sizes. Thanks!

Nodman avatar Jul 31 '17 08:07 Nodman

I tried

(setq spaceline-responsive nil)

But the glitch (yellow turns black other than purple) is still there.

thethreeonee avatar Aug 15 '17 15:08 thethreeonee

You suggestion to allow customizing separator size independently sounds great.

drrlvn avatar Aug 24 '17 11:08 drrlvn

Hello, there is something wrong on my side. Could you please check it? The theme used is dracule 2018-07-28 00 04 51

TonyGJJ avatar Jul 27 '18 16:07 TonyGJJ