@@ -141,7 +141,7 @@ private void Form1_Load(object sender, EventArgs e)
141
141
#region Set stuff
142
142
143
143
//Create constants for resizing
144
- _resizeConstants = new int [ 8 ] ;
144
+ _resizeConstants = new int [ 9 ] ;
145
145
_resizeConstants [ 0 ] = Size . Width - button1 . Width ;
146
146
_resizeConstants [ 1 ] = Size . Width - splitContainer1 . Width ;
147
147
_resizeConstants [ 2 ] = Size . Height - splitContainer1 . Height ;
@@ -150,6 +150,7 @@ private void Form1_Load(object sender, EventArgs e)
150
150
_resizeConstants [ 5 ] = splitContainer1 . Location . Y - sort_az_button1 . Location . Y ;
151
151
_resizeConstants [ 6 ] = sort_az_button2 . Location . X - listBox1 . Size . Width ;
152
152
_resizeConstants [ 7 ] = star_button2 . Location . X - sort_az_button2 . Location . X ;
153
+ _resizeConstants [ 8 ] = filterByType_button . Location . X - star_button2 . Location . X ;
153
154
154
155
#endregion
155
156
@@ -380,6 +381,8 @@ private void Form1_Resize(object sender, EventArgs e)
380
381
new Point ( star_button1 . Location . X , splitContainer1 . Location . Y - _resizeConstants [ 5 ] ) ;
381
382
star_button2 . Location = new Point ( sort_az_button2 . Location . X + _resizeConstants [ 7 ] ,
382
383
splitContainer1 . Location . Y - _resizeConstants [ 5 ] ) ;
384
+ filterByType_button . Location = new Point (
385
+ star_button2 . Location . X + _resizeConstants [ 8 ] , filterByType_button . Location . Y ) ;
383
386
}
384
387
385
388
private void label1_Click ( object sender , EventArgs e ) => Process . Start ( "https://github.com/Tudi20/Universal-THCRAP-Launcher" ) ;
0 commit comments