Project

General

Profile

Improvements #9204

Feature #7418: Bootstrap 5 theme

Bootstrap themes require an active WApplication upon construction for proper operation

Added by Roel Standaert about 2 months ago. Updated 11 days ago.

Status:
InProgress
Priority:
Normal
Assignee:
Target version:
Start date:
10/14/2021
Due date:
% Done:

0%

Estimated time:

Description

The themes are placed in a shared_ptr and thus in theory are stateless and can be shared between several instances of WApplication.

However, the constructor of the Bootstrap themes actually adds builtin XML strings to the active WApplication, basically requiring them to be
created in the constructor of the WApplication.

We should probably have some virtual function that takes care of this, and is automatically called in WApplication::setTheme.

Also available in: Atom PDF