Commit f0a9f93
[Win32] Fix initial control location #2643
With a recent change to the initial location of newly created controls,
the locations of some controls inside shells are broken. The intent of
that previous change was to improve the initial location of shells.
This change adapts the previous modification to only apply an improved
pattern for initial shell placement when the control is actually shell
and to keep the previous behavior for all other controls.
Fixes #26431 parent 1f8df87 commit f0a9f93
File tree
2 files changed
+18
-14
lines changed- bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets
2 files changed
+18
-14
lines changedLines changed: 6 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
672 | 672 | | |
673 | 673 | | |
674 | 674 | | |
675 | | - | |
676 | | - | |
677 | | - | |
678 | | - | |
679 | | - | |
680 | | - | |
681 | | - | |
682 | | - | |
683 | | - | |
684 | | - | |
685 | | - | |
686 | | - | |
687 | | - | |
| 675 | + | |
688 | 676 | | |
689 | 677 | | |
690 | 678 | | |
691 | 679 | | |
692 | 680 | | |
693 | | - | |
| 681 | + | |
694 | 682 | | |
695 | 683 | | |
696 | 684 | | |
| |||
702 | 690 | | |
703 | 691 | | |
704 | 692 | | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
| 696 | + | |
705 | 697 | | |
706 | 698 | | |
707 | 699 | | |
| |||
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
645 | 645 | | |
646 | 646 | | |
647 | 647 | | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
648 | 660 | | |
649 | 661 | | |
650 | 662 | | |
| |||
0 commit comments