forked from Ivasoft/DSView
Set the content margin of math and lissajous option dialog
This commit is contained in:
@@ -75,6 +75,9 @@ LissajousOptions::LissajousOptions(SigSession *session, QWidget *parent) :
|
||||
QHBoxLayout *xlayout = new QHBoxLayout();
|
||||
QHBoxLayout *ylayout = new QHBoxLayout();
|
||||
|
||||
xlayout->setContentsMargins(5, 15, 5, 5);
|
||||
ylayout->setContentsMargins(5, 15, 5, 5);
|
||||
|
||||
for(auto s : _session->get_signals()) {
|
||||
if (s->signal_type() == SR_CHANNEL_DSO) {
|
||||
view::DsoSignal *dsoSig = (view::DsoSignal*)s;
|
||||
|
||||
@@ -79,6 +79,10 @@ MathOptions::MathOptions(SigSession *session, QWidget *parent) :
|
||||
QHBoxLayout *src1_layout = new QHBoxLayout();
|
||||
QHBoxLayout *src2_layout = new QHBoxLayout();
|
||||
|
||||
src1_layout->setContentsMargins(5, 15, 5, 5);
|
||||
src2_layout->setContentsMargins(5, 15, 5, 5);
|
||||
type_layout->setContentsMargins(5, 15, 5, 5);
|
||||
|
||||
for(auto s : _session->get_signals()) {
|
||||
if (s->signal_type() == SR_CHANNEL_DSO) {
|
||||
view::DsoSignal *dsoSig = (view::DsoSignal*)s;
|
||||
|
||||
Reference in New Issue
Block a user