Fix tab label layout when the tab bar is on the right. Closes LP#838426
This commit is contained in:
parent
6da60c043b
commit
96a6b9c777
|
@ -472,6 +472,8 @@ class TabLabel(gtk.HBox):
|
||||||
self.set_orientation(gtk.ORIENTATION_VERTICAL)
|
self.set_orientation(gtk.ORIENTATION_VERTICAL)
|
||||||
self.label.set_angle(90)
|
self.label.set_angle(90)
|
||||||
elif position == gtk.POS_RIGHT:
|
elif position == gtk.POS_RIGHT:
|
||||||
|
if hasattr(self, 'set_orientation'):
|
||||||
|
self.set_orientation(gtk.ORIENTATION_VERTICAL)
|
||||||
self.label.set_angle(270)
|
self.label.set_angle(270)
|
||||||
else:
|
else:
|
||||||
if hasattr(self, 'set_orientation'):
|
if hasattr(self, 'set_orientation'):
|
||||||
|
|
Loading…
Reference in New Issue