added Bitstream Vera font definition to widgets

This commit is contained in:
maroy 2005-02-09 14:54:47 +00:00
parent 45309db5ef
commit 43fba36940
2 changed files with 4 additions and 2 deletions

View File

@ -22,7 +22,7 @@
Author : $Author: maroy $
Version : $Revision: 1.2 $
Version : $Revision: 1.3 $
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/widgets/src/Button.cxx,v $
------------------------------------------------------------------------------*/
@ -97,6 +97,7 @@ Button :: Button(const Glib::ustring & label,
this->rollImageRight = rollImageRight;
this->label.reset(new Gtk::Label(label));
this->label->modify_font(Pango::FontDescription("Bitstream Vera 10"));
this->label->set_parent(*this);
}

View File

@ -22,7 +22,7 @@
Author : $Author: maroy $
Version : $Revision: 1.3 $
Version : $Revision: 1.4 $
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/widgets/src/WhiteWindow.cxx,v $
------------------------------------------------------------------------------*/
@ -79,6 +79,7 @@ WhiteWindow :: WhiteWindow(Glib::ustring title,
// set the window title
this->title.reset(new Gtk::Label(title));
this->title->modify_font(Pango::FontDescription("Bitstream Vera 10"));
titleAlignment.reset(new Gtk::Alignment(Gtk::ALIGN_LEFT,
Gtk::ALIGN_CENTER,
0, 0));