Override css settings messing up vertical alignment.
This commit is contained in:
@@ -121,7 +121,9 @@ PlayerInterface::PlayerInterface(WebInterface* app)
|
||||
voteControlLayout->addWidget(voteTracksContainer);
|
||||
voteTracksContainer->setLayout(voteTracksLayout);
|
||||
voteTracksLayout->addLayout(track1);
|
||||
voteTracksLayout->addSpacing(Wt::WLength(20,Wt::WLength::Pixel));
|
||||
voteTracksLayout->addLayout(track2);
|
||||
voteTracksLayout->addSpacing(Wt::WLength(20,Wt::WLength::Pixel));
|
||||
voteTracksLayout->addLayout(track3);
|
||||
}
|
||||
|
||||
|
||||
@@ -26,6 +26,7 @@ TrackDetails::TrackDetails()
|
||||
this->setMaximumSize(Wt::WLength::Auto,Wt::WLength(200, Wt::WLength::Pixel));
|
||||
this->addStyleClass("panel");
|
||||
this->addStyleClass("panel-default");
|
||||
this->setMargin(Wt::WLength(0,Wt::WLength::Pixel),Wt::Side::Bottom);
|
||||
mainLayout = new Wt::WHBoxLayout();
|
||||
this->setLayout(mainLayout);
|
||||
metaLayout = new Wt::WVBoxLayout();
|
||||
|
||||
Reference in New Issue
Block a user