Commit aac40e6
committed
Moved header into ListView's Padding.
Refactored the AddHeaders method to be an inline local function
within AddListView, improving modularity and encapsulation.
Removed the original AddHeaders implementation and its call
from the constructor. The new AddHeaders method is conditionally
invoked when _applicationData.MinUI is false.
Updated the Y positioning of _listView to use _filterErrorView
instead of _filterLabel. Adjusted _listView padding and scrollbar
position to integrate the header. Changed MARGIN_LEFT constant
from 1 to 0 to refine UI layout.1 parent f8eec62 commit aac40e6
File tree
1 file changed
+42
-28
lines changed- src/Microsoft.PowerShell.ConsoleGuiTools
1 file changed
+42
-28
lines changedLines changed: 42 additions & 28 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
75 | 74 | | |
76 | 75 | | |
77 | 76 | | |
| |||
368 | 367 | | |
369 | 368 | | |
370 | 369 | | |
371 | | - | |
372 | | - | |
373 | | - | |
374 | | - | |
375 | | - | |
376 | | - | |
377 | | - | |
378 | | - | |
379 | | - | |
380 | | - | |
381 | | - | |
382 | | - | |
383 | | - | |
384 | | - | |
385 | | - | |
386 | | - | |
387 | | - | |
388 | | - | |
389 | | - | |
390 | | - | |
391 | | - | |
392 | | - | |
393 | | - | |
394 | | - | |
395 | | - | |
396 | 370 | | |
397 | 371 | | |
398 | 372 | | |
| |||
402 | 376 | | |
403 | 377 | | |
404 | 378 | | |
405 | | - | |
| 379 | + | |
406 | 380 | | |
407 | 381 | | |
408 | 382 | | |
| |||
414 | 388 | | |
415 | 389 | | |
416 | 390 | | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
417 | 396 | | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
418 | 430 | | |
419 | 431 | | |
| 432 | + | |
| 433 | + | |
420 | 434 | | |
421 | 435 | | |
422 | 436 | | |
| |||
0 commit comments