X-Git-Url: http://git.onelab.eu/?p=sface.git;a=blobdiff_plain;f=sface.py;h=07a8c2ea5302ca635e49ad6daae89f9ae866e8d6;hp=ae4770d01e624d14b3e0fa69b07d31cc96d64e5f;hb=4c1046ce18cb25a8a045ca588d975723af36ea1a;hpb=af944fe917c3f4236a162b318d466f3948543019 diff --git a/sface.py b/sface.py index ae4770d..07a8c2e 100644 --- a/sface.py +++ b/sface.py @@ -18,17 +18,20 @@ QTreeView, QLineEdit { margin: 2px; } - QPushButton { - background-color: white; - border: 2px solid gray; - border-radius: 4px; - padding: 6px; - margin: 5px; - } - - QPushButton:pressed { - background-color: #5599FF; - } +QPushButton { + background-color: white; + border: 2px solid gray; + border-radius: 4px; + padding: 6px; +} + +QPushButton:pressed { + background-color: #5599FF; +} + +QLabel { + font-size: 14px; +} ''') @@ -36,6 +39,8 @@ QTreeView, QLineEdit { win = MainWindow() win.setWindowTitle("Sface: SFA Interface") win.show() + win.raise_() + win.activateWindow() app.setActiveWindow(win) sys.exit(app.exec_())