Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.9, 1.9.1, and 1.9.2

status, commit: make sure the right pane is expanded

when resizing the window (not the left)

Changeset 80aa4e54a9e8

Parent d82070c97903

by Adrian Buehlmann

Changes to 2 files · Browse files at 80aa4e54a9e8 Showing diff from parent d82070c97903 Diff from another changeset...

 
51
52
53
 
 
54
55
56
 
99
100
101
 
 
 
102
103
104
 
 
 
 
105
106
107
 
51
52
53
54
55
56
57
58
 
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
@@ -51,6 +51,8 @@
  lambda: self.emit(SIGNAL('loadComplete')))   self.msghistory = []   + SP = QSizePolicy +   layout = QVBoxLayout()   layout.setContentsMargins(0, 0, 0, 0)   layout.addWidget(self.stwidget) @@ -99,9 +101,16 @@
  msgte.setAcceptRichText(False)   vbox.addWidget(msgte, 1)   upperframe = QFrame() + sp = SP(SP.Expanding, SP.Expanding) + sp.setHorizontalStretch(1) + upperframe.setSizePolicy(sp)   upperframe.setLayout(vbox)     self.split = QSplitter(Qt.Vertical) + sp = SP(SP.Expanding, SP.Expanding) + sp.setHorizontalStretch(1) + sp.setVerticalStretch(0) + self.split.setSizePolicy(sp)   # Add our widgets to the top of our splitter   self.split.addWidget(upperframe)   # Add status widget document frame below our splitter
 
74
75
76
 
 
77
78
79
 
83
84
85
 
 
 
 
86
87
88
 
148
149
150
 
 
 
 
151
152
153
 
74
75
76
77
78
79
80
81
 
85
86
87
88
89
90
91
92
93
94
 
154
155
156
157
158
159
160
161
162
163
@@ -74,6 +74,8 @@
  _colors[stat] = QColor(e[7:])   break   + SP = QSizePolicy +   split = QSplitter(Qt.Horizontal)   layout = QVBoxLayout()   layout.setMargin(0) @@ -83,6 +85,10 @@
  vbox = QVBoxLayout()   vbox.setMargin(0)   frame = QFrame(split) + sp = SP(SP.Expanding, SP.Expanding) + sp.setHorizontalStretch(0) + sp.setVerticalStretch(0) + frame.setSizePolicy(sp)   frame.setLayout(vbox)   hbox = QHBoxLayout()   hbox.setContentsMargins (5, 7, 0, 0) @@ -148,6 +154,10 @@
  vbox = QVBoxLayout()   vbox.setMargin(0)   docf = QFrame(split) + sp = SP(SP.Expanding, SP.Expanding) + sp.setHorizontalStretch(1) + sp.setVerticalStretch(0) + docf.setSizePolicy(sp)   docf.setLayout(vbox)   self.docf = docf   hbox = QHBoxLayout()