Changeset 7925 in orxonox.OLD for branches/gui/src/lib/gui/gl_gui/glgui_pushbutton.cc
- Timestamp:
- May 28, 2006, 5:56:17 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gui/src/lib/gui/gl_gui/glgui_pushbutton.cc
r7919 r7925 45 45 void GLGuiPushButton::resize() 46 46 { 47 this->label.setRelCoor2D( 5, 5);47 this->label.setRelCoor2D(25, 5); 48 48 this->setSize2D(this->label.getSizeX2D() + 10, this->label.getSizeY2D() + 10); 49 GLGuiWidget::resize(); 50 this->frontRect().setTopLeft(1, 1); 51 this->frontRect().setSize(this->getSizeX2D() -2, this->getSizeY2D() -2); 49 52 } 50 53
Note: See TracChangeset
for help on using the changeset viewer.