修订版 | 8b2e8120b7437d689da1981c85a343cffe7fc3e7 (tree) |
---|---|
时间 | 2020-09-05 22:01:09 |
作者 | Kazuhiro Fujieda <fujieda@user...> |
Commiter | Kazuhiro Fujieda |
横長2のレイアウトでバケツ増減の表示位置がおかしいのを直す
@@ -115,8 +115,6 @@ namespace KancolleSniffer.View.MainWindow | ||
115 | 115 | protected override void OnParentChanged(EventArgs e) |
116 | 116 | { |
117 | 117 | base.OnParentChanged(e); |
118 | - _bucketHistory.Location = | |
119 | - new Point(Location.X + Parent.Location.X + 100, Location.Y + Parent.Location.Y + 30); | |
120 | 118 | Parent.Controls.Add(_bucketHistory); |
121 | 119 | } |
122 | 120 |
@@ -176,6 +174,7 @@ namespace KancolleSniffer.View.MainWindow | ||
176 | 174 | } |
177 | 175 | else |
178 | 176 | { |
177 | + _bucketHistory.Location = new Point(Location.X + 100, Location.Y + 30); | |
179 | 178 | _bucketHistory.Visible = true; |
180 | 179 | _bucketHistory.BringToFront(); |
181 | 180 | _bucketHistoryButton.BackColor = CustomColors.ActiveButtonColor; |