Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm trying to make a gtk3 theme where the focused control is highlighted with a thicker border:

GtkButton /* etc. */ { 
  border-width: 1px;
}

.focused {
  border-width: 2px;
}

This works, but is ugly as focusing a control increases its size, moving nearby controls around a tiny bit. (This is clearly visible in twf and friends.)

Is there some simple CSS solution to increase a border without changing the overall dimension of the control?

My system is ubuntu 12.04 (precise) with Gnome 3.4.1 and I'm using the unico theme engine.

share|improve this question

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.