Autor Beitrag
Max064
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 52



BeitragVerfasst: Do 19.08.10 11:41 
Hallo,

ich verwende folgenden Programmcode:

ausblenden C#-Quelltext
1:
2:
Size z = new Size(1050, (_pixelsize.Height + 150));
this.MinimumSize = z;

Nun starte ich das Programm, aber die Minimum Size wird IMMER auf 1022 in x Richtung gesetzt. Der Wert in y wird richtig übernommen.
Ist 1022 eine maximale minimum size, die man setzen kann? Ich wüsste auch nicht woher die 1022 kommen sollte...

lg Max
Th69
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Moderator
Beiträge: 4799
Erhaltene Danke: 1059

Win10
C#, C++ (VS 2017/19/22)
BeitragVerfasst: Do 19.08.10 13:00 
Die maximale Minimum-Size beträgt ("die aktuelle Bildschirmauflösung" - 2), d.h. du hast also eine 1024iger Auflösung.