Skip to content

Commit

Permalink
Adjusting styles
Browse files Browse the repository at this point in the history
  • Loading branch information
francescmm committed Dec 14, 2019
1 parent 32d1fa2 commit b39b0d1
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion app/BranchesWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
using namespace QLogger;

BranchesWidget::BranchesWidget(QSharedPointer<Git> git, QWidget *parent)
: QWidget(parent)
: QFrame(parent)
, mGit(git)
, mLocalBranchesTree(new BranchTreeWidget(mGit))
, mRemoteBranchesTree(new BranchTreeWidget(mGit))
Expand Down
4 changes: 2 additions & 2 deletions app/BranchesWidget.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@
** Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
***************************************************************************************/

#include <QWidget>
#include <QFrame>

class BranchTreeWidget;
class QListWidget;
class QListWidgetItem;
class QLabel;
class Git;

class BranchesWidget : public QWidget
class BranchesWidget : public QFrame
{
Q_OBJECT

Expand Down
20 changes: 10 additions & 10 deletions app/resources/stylesheet.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
ClickableFrame
{
padding: 5px;
}

Controls
{
max-height: 80px;
Expand Down Expand Up @@ -77,6 +82,11 @@ BranchesWidget
max-width: 400px;
}

#tagsFrame
{
padding: 0;
}

QListWidget::item:focus, FileHistoryWidget > QTreeView::item:focus
{
border: 0;
Expand Down Expand Up @@ -294,7 +304,6 @@ QFrame#orangeSeparator
max-width: 1px;
}


QLabel#subtitle
{
font-size: 16pt;
Expand All @@ -305,8 +314,6 @@ QLabel#title
font-size: 24pt;
}



QPushButton#bigButton
{
max-height: 30px;
Expand Down Expand Up @@ -338,8 +345,6 @@ QDialog > QLineEdit
padding-left: 10px;
}



QScrollBar:vertical
{
border: 0;
Expand Down Expand Up @@ -490,8 +495,3 @@ QProgressBar::chunk
width: 18px;
}

ClickableFrame
{
padding: 5px;
}

0 comments on commit b39b0d1

Please sign in to comment.