How do you add a little margin for icon space next to menu items in Unity bar menu? I'm trying to make menu items appear more consistently aligned when there are both menu items with/without icon in the menu. I'm talking about this

fromthis tothis

I'm guessing this takes only few lines of changes in unity.css in /gtk-3.0/apps but I'm not sure what to change there. This is the default Ambience theme.

  • How did you achieved it in above image – atenz Aug 25 '12 at 11:21
  • 3
    I GIMP'ed it :) – Flint Aug 25 '12 at 11:25

Not the clean solution you're looking for, but you could create an icon full of transparency.

It would accomplish the goal of consistent layout/indentation. Using transparency would also make it portable across themes.

  • +1 Great answer! also it is a cleaner way to do it, because an icon wont be affected if css was touched in the future. – JorgeArtware Jul 13 '13 at 3:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.