summaryrefslogtreecommitdiffstats
path: root/examples/statemachine
diff options
context:
space:
mode:
authorKent Hansen <khansen@trolltech.com>2009-05-05 18:08:47 (GMT)
committerKent Hansen <khansen@trolltech.com>2009-05-05 18:08:47 (GMT)
commitce44510d932c0fc77c368f45848a0fc751f5a18b (patch)
treedcbf04f39143a9240762b63ded19961096c299c7 /examples/statemachine
parent7700ecce8cb3b64e1ef8c4804022ceda2bed24c9 (diff)
downloadQt-ce44510d932c0fc77c368f45848a0fc751f5a18b.zip
Qt-ce44510d932c0fc77c368f45848a0fc751f5a18b.tar.gz
Qt-ce44510d932c0fc77c368f45848a0fc751f5a18b.tar.bz2
get rid of margin
Diffstat (limited to 'examples/statemachine')
-rw-r--r--examples/statemachine/trafficlight/main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/statemachine/trafficlight/main.cpp b/examples/statemachine/trafficlight/main.cpp
index ed0eeea..3c47a51 100644
--- a/examples/statemachine/trafficlight/main.cpp
+++ b/examples/statemachine/trafficlight/main.cpp
@@ -151,6 +151,7 @@ public:
QVBoxLayout *vbox = new QVBoxLayout(this);
TrafficLightWidget *widget = new TrafficLightWidget();
vbox->addWidget(widget);
+ vbox->setMargin(0);
QStateMachine *machine = new QStateMachine(this);
LightState *redGoingYellow = new LightState(widget->redLight(), 3000);
@@ -182,7 +183,7 @@ int main(int argc, char **argv)
QApplication app(argc, argv);
TrafficLight widget;
- widget.resize(120, 300);
+ widget.resize(110, 300);
widget.show();
return app.exec();