forked from M-Labs/artiq
gui/log: fix layout problems
This commit is contained in:
parent
c6ccc87f54
commit
3c0efb3ad5
@ -175,6 +175,10 @@ class LogDock(dockarea.Dock):
|
||||
self.log.setSelectionMode(QtGui.QAbstractItemView.NoSelection)
|
||||
self.log.horizontalHeader().setResizeMode(
|
||||
QtGui.QHeaderView.ResizeToContents)
|
||||
self.log.horizontalHeader().setStretchLastSection(True)
|
||||
self.log.verticalHeader().setResizeMode(
|
||||
QtGui.QHeaderView.ResizeToContents)
|
||||
self.log.verticalHeader().hide()
|
||||
self.log.setHorizontalScrollMode(
|
||||
QtGui.QAbstractItemView.ScrollPerPixel)
|
||||
self.log.setShowGrid(False)
|
||||
|
@ -55,6 +55,7 @@ class ArgumentsDemo(EnvExperiment):
|
||||
def run(self):
|
||||
logging.error("logging test: error")
|
||||
logging.warning("logging test: warning")
|
||||
logging.warning("logging test:" + " this is a very long message."*15)
|
||||
logging.info("logging test: info")
|
||||
logging.debug("logging test: debug")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user