[minor] tighten PyLoT tabs layouts
This commit is contained in:
parent
46a6cdcc00
commit
0168d8923d
5
PyLoT.py
5
PyLoT.py
@ -637,6 +637,11 @@ class MainWindow(QMainWindow):
|
||||
array_tab.setLayout(self.array_layout)
|
||||
events_tab.setLayout(self.events_layout)
|
||||
|
||||
# tighten up layouts inside tabs
|
||||
for layout in [self.wf_layout, self.array_layout, self.events_layout]:
|
||||
layout.setSpacing(0)
|
||||
layout.setContentsMargins(0, 0, 0, 0)
|
||||
|
||||
# add tabs to main tab widget
|
||||
self.tabs.addTab(wf_tab, 'Waveform Plot')
|
||||
self.tabs.addTab(array_tab, 'Array Map')
|
||||
|
@ -179,9 +179,9 @@ background-color:transparent;
|
||||
|
||||
QTabWidget::pane{
|
||||
background-color:rgba(0, 0, 0, 255);
|
||||
border-style:solid;
|
||||
border-color:rgba(245, 245, 245, 255);
|
||||
border-width:1px;
|
||||
margin: 0px, 0px, 0px, 0px;
|
||||
padding: 0px;
|
||||
border-width:0px;
|
||||
}
|
||||
|
||||
QTabWidget::tab{
|
||||
|
@ -178,9 +178,9 @@ background-color:transparent;
|
||||
|
||||
QTabWidget::pane{
|
||||
background-color:rgba(70, 70, 80, 255);
|
||||
border-style:solid;
|
||||
border-color:rgba(70, 70, 80, 255);
|
||||
border-width:1px;
|
||||
margin: 0px, 0px, 0px, 0px;
|
||||
padding: 0px;
|
||||
border-width:0px;
|
||||
}
|
||||
|
||||
QTabWidget::tab{
|
||||
|
Loading…
Reference in New Issue
Block a user