Nicolas,
1. The navigation bar only works properly with the bootstrap themes.
Wt::WBootstrapTheme *bootstrapTheme = new Wt::WBootstrapTheme(app);
bootstrapTheme->setVersion(Wt::WBootstrapTheme::Version3);
bootstrapTheme->setResponsive(true);
app->setTheme(bootstrapTheme);
2. The WApplication constructor is a good place:
useStyleSheet("resources/themes/bootstrap/3/bootstrap-theme.min.css");
Best regards,
Wim.
On 3 July 2016 at 16:22, Nicolas Jäger <jagernico...@legtux.org> wrote:
> Hi,
> I'm trying to get a navigation bar like the one in widgets gallery. So far
> I get something quiet
> ugly :
>
> http://en.zimagez.com/zimage/2016-07-03-1012511600x900scrot.php
>
> I guess the problem comes from the theme.
>
> 1) wich css theme file is used to get the same navigation bar from the
> gallery one ? where this is
> file is located in the sources ?
>
> 2) from where should I call the css file, to make it uses by all widget
> (like does Qt) ?
>
> regards,
> Nicolas
>
>
> ------------------------------------------------------------------------------
> Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
> Francisco, CA to explore cutting-edge tech and listen to tech luminaries
> present their vision of the future. This family event has something for
> everyone, including kids. Get more information and register today.
> http://sdm.link/attshape
> _______________________________________________
> witty-interest mailing list
> witty-interest@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>
------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest