Introjucer and LookAndFeel

Hi,

 

when design a UI in Introjucer, is it possible to design it using a diferent LookAndFeel ?

 

Thanks,

Paulo

I haven't added an option for that, but you could hack the introjucer itself and change the L+F - it'd be a one-line change.

Hi Jules,

thanks for the quick answer, but i already had tried it before posting.

It give me an error when running in the following:

void IntrojucerLookAndFeel::fillWithBackgroundTexture (Component& c, Graphics& g)

{

    dynamic_cast<IntrojucerLookAndFeel&> (c.getLookAndFeel()).fillWithBackgroundTexture (g);

}

Gives this error:

libc++abi.dylib: terminating with uncaught exception of type std::bad_cast: std::bad_cast

Where should i put the declaration: "LookAndFeel::setDefaultLookAndFeel(&lookAndFeelV3);" ?

I put it on MainWindow.cpp.

 

Paulo

No, that's the wrong thing to change - look at EditingPanelBase::lookAndFeel instead.

Worked perfectly. Thank you