[fixed] env->getSkin()->setSize( EGDS_MESSAGE_BOX_HEIG

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Post Reply
Spkka
Posts: 32
Joined: Fri Jan 02, 2009 8:30 am

[fixed] env->getSkin()->setSize( EGDS_MESSAGE_BOX_HEIG

Post by Spkka »

Sorry if there is a topic about this already but i couldn't find any.
I hope its a bug or im doing it wrong :lol:

The following code works fine with the width but the height isn't changing no matter what value i give. I tested it on ubuntu and windows and both doing the same thing.

Im using Irrlicht version 1.5 but i compiled it from the svn a few weeks ago.

Code: Select all

// set messagebox width / height
env->getSkin()->setSize( EGDS_MESSAGE_BOX_WIDTH, 210 );
env->getSkin()->setSize( EGDS_MESSAGE_BOX_HEIGHT, 210 );

// create the messagebox
env->addMessageBox( L"Do you really want to Quit?", L"", true, ( EMBF_YES | EMBF_NO ), 0, GUI_ID_MENU_QUIT );
Spkka
Posts: 32
Joined: Fri Jan 02, 2009 8:30 am

Post by Spkka »

Anyone else experienced this also perhaps?
bitplane
Admin
Posts: 3204
Joined: Mon Mar 28, 2005 3:45 am
Location: England
Contact:

Post by bitplane »

This is now fixed in SVN trunk
Submit bugs/patches to the tracker!
Need help right now? Visit the chat room
Post Reply