Skip to content

Commit

Permalink
Center App tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
algorys committed Mar 26, 2018
1 parent 8f65c24 commit 9deefc6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 0 additions & 2 deletions alignak_app/qobjects/panel.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
from alignak_app.backend.backend import app_backend
from alignak_app.utils.config import settings

from alignak_app.qobjects.common.frames import get_frame_separator
from alignak_app.qobjects.events.item import EventItem
from alignak_app.qobjects.events.spy import SpyQWidget
from alignak_app.qobjects.alignak.dashboard import DashboardQWidget
Expand Down Expand Up @@ -86,7 +85,6 @@ def initialize(self):
# Dashboard widget
self.dashboard_widget.initialize()
self.layout.addWidget(self.dashboard_widget)
self.layout.addWidget(get_frame_separator())

self.tab_widget.setMovable(True)
self.layout.addWidget(self.tab_widget)
Expand Down
4 changes: 4 additions & 0 deletions etc/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -444,6 +444,10 @@ QTabWidget::pane {
border: 1px solid #3884c3;
}

QTabWidget::tab-bar {
alignment: center;
}

QTabBar::tab {
color: #3884c3;
background-color: white;
Expand Down

0 comments on commit 9deefc6

Please sign in to comment.