Commit ea969e37 authored by Steve Borho's avatar Steve Borho
Browse files

fileview: add labelhbox for use by parent widgets

parent f7e8412f2ffe
......@@ -111,12 +111,16 @@ class HgFileView(QFrame):
self.topLayout = QVBoxLayout()
self.labelhbox = hbox = QHBoxLayout()
hbox.setContentsMargins(0,0,0,0)
hbox.setSpacing(2)
self.topLayout.addLayout(hbox)
self.filenamelabel = w = QLabel()
w.setWordWrap(True)
f = w.textInteractionFlags()
w.setTextInteractionFlags(f | Qt.TextSelectableByMouse)
w.linkActivated.connect(self.linkActivated)
self.topLayout.addWidget(w)
hbox.addWidget(w)
self.extralabel = w = QLabel()
w.setWordWrap(True)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment