Refactor things so less manual layout is done where not needed. Yields proper boostrap panel.
This commit is contained in:
@@ -30,6 +30,8 @@
|
||||
#include <Wt/WProgressBar>
|
||||
#include <Wt/WTimer>
|
||||
#include "TrackDetails.h"
|
||||
#include "RequestInterface.h"
|
||||
#include <Wt/WPanel>
|
||||
|
||||
class PlayerInterface : public Wt::WContainerWidget
|
||||
{
|
||||
@@ -40,7 +42,6 @@ public:
|
||||
Wt::WVBoxLayout* interfaceLayout;
|
||||
Wt::WHBoxLayout* playControlLayout;
|
||||
Wt::WContainerWidget* playControlWidget;
|
||||
Wt::WVBoxLayout* voteControlLayout;
|
||||
|
||||
//Play controls
|
||||
TrackDetails* currentTrackDetails;
|
||||
@@ -55,13 +56,14 @@ public:
|
||||
|
||||
//TabView
|
||||
Wt::WTabWidget* mainDisplay;
|
||||
RequestInterface* requestPane;
|
||||
|
||||
//Vote Controls
|
||||
Wt::WContainerWidget* voteMetaContainer;
|
||||
Wt::WVBoxLayout* voteMetaLayout;
|
||||
Wt::WPanel* votePanel;
|
||||
Wt::WContainerWidget* voteControlContainer;
|
||||
Wt::WContainerWidget* voteTracksContainer;
|
||||
Wt::WText* voteHeader;
|
||||
Wt::WVBoxLayout* voteTracksLayout;
|
||||
Wt::WHBoxLayout* track1;
|
||||
Wt::WHBoxLayout* track2;
|
||||
|
||||
Reference in New Issue
Block a user