Commit 8b333c21 authored by shibakaneki's avatar shibakaneki

Updated the styles

parent 6b1da4b6
......@@ -29,8 +29,9 @@ QLabel#UBTeacherBarPreviewTitle
QLabel#UBTeacherBarPreviewSubtitle
{
color: #555555;
font-size : 14px;
font-size : 15px;
font-weight:bold;
padding-top: 10px;
}
QWidget#UBLibWebView
......
......@@ -558,7 +558,8 @@ UBTeacherBarDropMediaZone::UBTeacherBarDropMediaZone(QWidget *parent, const char
mWidget->setEmptyText(tr("Drag media here ..."));
mLayout.addWidget(mWidget);
setLayout(&mLayout);
// The next line is disgusting. This is a quickfix that must be reworked later
setContentsMargins(-9, -9, -9, -9);
}
UBTeacherBarDropMediaZone::~UBTeacherBarDropMediaZone()
......@@ -687,6 +688,7 @@ UBUrlWidget::UBUrlWidget(QWidget *parent, const char *name):QWidget(parent)
mpLabelLayout->addWidget(mpUrlLabel, 0);
mpUrl = new QLineEdit(this);
mpUrl->setObjectName("DockPaletteWidgetLineEdit");
mpUrl->setMinimumHeight(20);
mpLabelLayout->addWidget(mpUrl, 1);
mpTitleLayout = new QHBoxLayout(this);
......@@ -694,6 +696,7 @@ UBUrlWidget::UBUrlWidget(QWidget *parent, const char *name):QWidget(parent)
mpTitleLayout->addWidget(mpTitleLabel,0);
mpTitle = new QLineEdit(this);
mpTitle->setObjectName("DockPaletteWidgetLineEdit");
mpTitle->setMinimumHeight(20);
mpTitleLayout->addWidget(mpTitle,1);
mpLayout->addLayout(mpTitleLayout);
......@@ -782,6 +785,8 @@ UBTeacherBarPreviewWidget::UBTeacherBarPreviewWidget(QWidget *parent, const char
mLayout.addLayout(&mTitleDurationLayout, 0);
mLayout.addWidget(&mMediaViewer, 1);
// The next line is disgusting. This is a quickfix that must be reworked later
mMediaViewer.setContentsMargins(-9, -9, -9, -9);
hideElements();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment