[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)
|
array_tab.setLayout(self.array_layout)
|
||||||
events_tab.setLayout(self.events_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
|
# add tabs to main tab widget
|
||||||
self.tabs.addTab(wf_tab, 'Waveform Plot')
|
self.tabs.addTab(wf_tab, 'Waveform Plot')
|
||||||
self.tabs.addTab(array_tab, 'Array Map')
|
self.tabs.addTab(array_tab, 'Array Map')
|
||||||
|
@ -179,9 +179,9 @@ background-color:transparent;
|
|||||||
|
|
||||||
QTabWidget::pane{
|
QTabWidget::pane{
|
||||||
background-color:rgba(0, 0, 0, 255);
|
background-color:rgba(0, 0, 0, 255);
|
||||||
border-style:solid;
|
margin: 0px, 0px, 0px, 0px;
|
||||||
border-color:rgba(245, 245, 245, 255);
|
padding: 0px;
|
||||||
border-width:1px;
|
border-width:0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
QTabWidget::tab{
|
QTabWidget::tab{
|
||||||
|
@ -178,9 +178,9 @@ background-color:transparent;
|
|||||||
|
|
||||||
QTabWidget::pane{
|
QTabWidget::pane{
|
||||||
background-color:rgba(70, 70, 80, 255);
|
background-color:rgba(70, 70, 80, 255);
|
||||||
border-style:solid;
|
margin: 0px, 0px, 0px, 0px;
|
||||||
border-color:rgba(70, 70, 80, 255);
|
padding: 0px;
|
||||||
border-width:1px;
|
border-width:0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
QTabWidget::tab{
|
QTabWidget::tab{
|
||||||
|
Loading…
Reference in New Issue
Block a user