dotnet / dotnet/dotnet-api-docs
AutoScaleMode with Font is described that it shrinks/grows, but font size is absolute
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- C#
- Sterne
- 950
- Forks
- 1.7k
- Ø Merge
- 2 T. 19 Std.
- Gemergte PRs (30 T.)
- 52
Beschreibung
Type of issue
Other (describe below)
Description
In this paragraph:
Scaling by Font is useful if you want to have a control or form stretch or shrink according to the size of the fonts in the operating system
, the text describes that controls will shrink/grow depending on font availability in the system, but forms are designed with a specific font type and absolute size, such as 10pt, which means they cannot shrink/grow based on font availability.
If this intends to describe font substitutions, it should say so, but only when the primary intention of this setting is described. If this intends to describe font size changes according to accessibility (Ease of Use), then again, it should describe the primary use and then add that the font size will grow/shrink according to accessibility settings in Windows.
Outside of these contexts, font size should be absolute and should compute to 1/72 of an inch on the screen, regardless of anything else.
Lastly, if Windows interprets pixels in the way that CSS does (arm's length, etc - not actual pixels), that should fall into the DPI settings description, but in case it affects the Font setting as well by changing that dot (pixel) size, this page should call this out explicitly.
Confusion in this area is incredibly widespread and many good apps are illegible because they are designed on different displays, so developers use 8pt fonts that come out as tiniest text possible to 4K displays. Describing this functionality in an unambiguous way will be really helpful.
Page URL
Content source URL
https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System.Windows.Forms/ContainerControl.xml
Document Version Independent Id
d3ddf0cc-eca8-4a6f-fcc4-ab6885666d17
Article author
@dotnet-bot
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne in xml/System.Windows.Forms/ContainerControl.xml beim Absatz zu AutoScaleMode Font und vergleiche seine Formulierung mit der verknüpften API-Seite. Ermittle, welches Verhalten die Dokumentation beschreiben soll, und überarbeite dann den Absatz, damit Schriftartersetzung, größenbezogene Anpassungen im Zusammenhang mit Barrierefreiheit und DPI-Verhalten nicht miteinander vermischt werden; die Seite sollte klar erklären, was die Font-Skalierung bewirkt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- csharp
- Bereich
- desktop, documentation
- Issue-Typ
- Dokumentation
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 35/100