You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/theme_reference/theme_button.rst
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,7 +52,7 @@ Font
52
52
block has these parameters:
53
53
54
54
- "**name**" - Necessary to make a valid block. This is the name that this font goes by in the UI, if this is a new font then subsequent font instances with different styles or sizes should use the same name.
55
-
- "**locale**" - Optional parameter to set this font as belonging to a particular locale only. See the :ref:`localization` guide.
55
+
- "**locale**" - Optional parameter to set this font as belonging to a particular locale only. See the :ref:`localization` guide. You will need to keep repeating the locale specifier if using prototypes to make a hierarchy.
56
56
- "**size**" - Necessary to make a valid block. This is the point size of the font to use on the button.
57
57
- "**bold**" - Optional parameter. Set it to "1" to make this font bold.
58
58
- "**italic**" - Optional parameter. Set it to "1" to make this font italic.
Copy file name to clipboardExpand all lines: docs/source/theme_reference/theme_label.rst
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,7 @@ Font
27
27
:class:`UILabel <pygame_gui.elements.UILabel>` accepts a font specified in the theme via a 'font' block. A 'font' block has these parameters:
28
28
29
29
- "**name**" - Necessary to make a valid block. This is the name that this font goes by in the UI, if this is a new font then subsequent font instances with different styles or sizes should use the same name.
30
+
- "**locale**" - Optional parameter to set this font as belonging to a particular locale only. See the :ref:`localization` guide. You will need to keep repeating the locale specifier if using prototypes to make a hierarchy.
30
31
- "**size**" - Necessary to make a valid block. This is the point size of the font to use on the label.
31
32
- "**bold**" - Optional parameter. Set it to "1" to make this font bold.
32
33
- "**italic**" - Optional parameter. Set it to "1" to make this font italic.
Copy file name to clipboardExpand all lines: docs/source/theme_reference/theme_progress_bar.rst
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,6 +46,7 @@ Font
46
46
:class:`UIProgressBar <pygame_gui.elements.UIProgressBar>` accepts a font specified in the theme via a 'font' block. A 'font' block has these parameters:
47
47
48
48
- "**name**" - Necessary to make a valid block. This is the name that this font goes by in the UI, if this is a new font then subsequent font instances with different styles or sizes should use the same name.
49
+
- "**locale**" - Optional parameter to set this font as belonging to a particular locale only. See the :ref:`localization` guide. You will need to keep repeating the locale specifier if using prototypes to make a hierarchy.
49
50
- "**size**" - Necessary to make a valid block. This is the point size of the font to use on the health bar.
50
51
- "**bold**" - Optional parameter. Set it to "1" to make this font bold.
51
52
- "**italic**" - Optional parameter. Set it to "1" to make this font italic.
Copy file name to clipboardExpand all lines: docs/source/theme_reference/theme_screen_space_health_bar.rst
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,6 +46,7 @@ Font
46
46
:class:`UIScreenSpaceHealthBar <pygame_gui.elements.UIScreenSpaceHealthBar>` accepts a font specified in the theme via a 'font' block. A 'font' block has these parameters:
47
47
48
48
- "**name**" - Necessary to make a valid block. This is the name that this font goes by in the UI, if this is a new font then subsequent font instances with different styles or sizes should use the same name.
49
+
- "**locale**" - Optional parameter to set this font as belonging to a particular locale only. See the :ref:`localization` guide. You will need to keep repeating the locale specifier if using prototypes to make a hierarchy.
49
50
- "**size**" - Necessary to make a valid block. This is the point size of the font to use on the health bar.
50
51
- "**bold**" - Optional parameter. Set it to "1" to make this font bold.
51
52
- "**italic**" - Optional parameter. Set it to "1" to make this font italic.
Copy file name to clipboardExpand all lines: docs/source/theme_reference/theme_text_entry_line.rst
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,6 +35,7 @@ Font
35
35
:class:`UITextEntryLine <pygame_gui.elements.UITextEntryLine>` accepts a font specified in the theme via a 'font' block. A 'font' block has these parameters:
36
36
37
37
- "**name**" - Necessary to make a valid block. This is the name that this font goes by in the UI, if this is a new font then subsequent font instances with different styles or sizes should use the same name.
38
+
- "**locale**" - Optional parameter to set this font as belonging to a particular locale only. See the :ref:`localization` guide. You will need to keep repeating the locale specifier if using prototypes to make a hierarchy.
38
39
- "**size**" - Necessary to make a valid block. This is the point size of the font to use on the text entry line.
39
40
- "**bold**" - Optional parameter. Set it to "1" to make this font bold.
40
41
- "**italic**" - Optional parameter. Set it to "1" to make this font italic.
0 commit comments