fixed default and mainmenu
authorRonny Strutz <ronny.strutz@multimedia-labs.de>
Wed, 28 Sep 2005 22:34:00 +0000 (22:34 +0000)
committerRonny Strutz <ronny.strutz@multimedia-labs.de>
Wed, 28 Sep 2005 22:34:00 +0000 (22:34 +0000)
lib/gui/elistbox.cpp
lib/gui/elistboxcontent.cpp

index 4f799a176cc60b26c664c7402bf1ef0808f0dfe8..0d92e10790ef9a9ce3d0e0b0db82d0d71e2f9cb2 100644 (file)
@@ -9,7 +9,7 @@ eListbox::eListbox(eWidget *parent): eWidget(parent)
        ePtr<eActionMap> ptr;
        eActionMap::getInstance(ptr);
        
        ePtr<eActionMap> ptr;
        eActionMap::getInstance(ptr);
        
-       m_itemheight = 20;
+       m_itemheight = 25;
        
        ptr->bindAction("ListboxActions", 0, 0, this);
 }
        
        ptr->bindAction("ListboxActions", 0, 0, this);
 }
index fe5f38dd3716def80eb1588b8063e6125ec74a7f..cc661d477b2b173b5971471af6ad94b791f732c2 100644 (file)
@@ -327,7 +327,7 @@ void eListboxPythonStringContent::setSize(const eSize &size)
 
 void eListboxPythonStringContent::paint(gPainter &painter, eWindowStyle &style, const ePoint &offset, int selected)
 {
 
 void eListboxPythonStringContent::paint(gPainter &painter, eWindowStyle &style, const ePoint &offset, int selected)
 {
-       ePtr<gFont> fnt = new gFont("Arial", 14);
+       ePtr<gFont> fnt = new gFont("Arial", 20);
        painter.clip(eRect(offset, m_itemsize));
        style.setStyle(painter, selected ? eWindowStyle::styleListboxSelected : eWindowStyle::styleListboxNormal);
        painter.clear();
        painter.clip(eRect(offset, m_itemsize));
        style.setStyle(painter, selected ? eWindowStyle::styleListboxSelected : eWindowStyle::styleListboxNormal);
        painter.clear();