Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 2.0.3, 2.0.4, and 2.0.5

stable settings: allow entries to expand horizontally

Changeset 77636e0382dc

Parent e4326e10facf

by Eduard-Cristian Stefan

Changes to one file · Browse files at 77636e0382dc Showing diff from parent e4326e10facf Diff from another changeset...

 
41
42
43
44
45
 
46
47
48
 
109
110
111
112
113
 
114
115
116
117
118
 
136
137
138
139
140
 
141
142
143
 
41
42
43
 
 
44
45
46
47
 
108
109
110
 
 
111
112
 
113
114
115
 
133
134
135
 
 
136
137
138
139
@@ -41,8 +41,7 @@
  settings = opts['settings']   slist = settings.value('settings/'+opts['cpath']).toStringList()   self.previous = [s for s in slist if s] - self.setFixedWidth(ENTRY_WIDTH) - + self.setMinimumWidth(ENTRY_WIDTH)   def resetList(self):   self.clear()   ucur = hglib.tounicode(self.curvalue) @@ -109,10 +108,8 @@
  self.opts = opts   self.curvalue = None   self.setEchoMode(QLineEdit.Password) - self.setFixedWidth(ENTRY_WIDTH) - + self.setMinimumWidth(ENTRY_WIDTH)   ## common APIs for all edit widgets -   def setValue(self, curvalue):   self.curvalue = curvalue   if curvalue: @@ -136,8 +133,7 @@
  cpath = self.opts['cpath']   assert cpath.startswith('tortoisehg.')   self.fname = cpath[11:] - self.setFixedWidth(ENTRY_WIDTH) - + self.setMinimumWidth(ENTRY_WIDTH)   def on_clicked(self, checked):   def newFont(font):   self.setText(font.toString())