• R/O
  • SSH
  • HTTPS

kotoli: Commit


Commit MetaInfo

Revision220 (tree)
Time2011-01-19 22:01:58
Authorsiotsu

Log Message

修正)検索ウィンドウ高さが正しくない問題を修正

Change Summary

Incremental Difference

--- branches/experimental/1e/Kotoli/KotoliForm.cs (revision 219)
+++ branches/experimental/1e/Kotoli/KotoliForm.cs (revision 220)
@@ -187,10 +187,11 @@
187187 @"AND{
188188  filename = ""hoge""
189189 OR{
190-  filename = ""foo""
191-  date > 2010/08/05
190+ filename = ""foo""
191+ filename = ""bar""
192+ date > 2010/08/05
192193 }
193-}" );
194+}");
194195
195196 // UIをQueryTreeから作成
196197 CreateSearchPanel(q, rootPanel);
@@ -205,7 +206,7 @@
205206 SetPanelHeight(rootPanel, 0);
206207
207208 // Formのサイズを更新
208- searchForm.Size = new Size(rootPanel.Width, rootPanel.Height+111);
209+ searchForm.Size = new Size(rootPanel.Width, rootPanel.Height);
209210
210211 // 戻す
211212 this.ResumeLayout();
@@ -270,7 +271,7 @@
270271 // 親要素のサイズを設定
271272 int pHeight = parent.ClientSize.Height + c.Height;
272273 int pWidth = c.Width + (c.Left * 2);
273-
274+
274275 parent.ClientSize = new Size(pWidth, pHeight);
275276
276277 tabIndex++;
@@ -281,7 +282,7 @@
281282 {
282283 // QueryPanelの場合
283284 //MessageBox.Show("Parent Height : " + parent.Height + "\n" + panelType + " Height : " + c.Height);
284- parent.Height += c.Height;
285+ parent.Height += c.Height + Indent;
285286 parent.Width = c.Width;
286287
287288 if (prevControl != null)
Show on old repository browser