Changeset 1006:9a97fc27f9d8 for src/mlx/gui
- Timestamp:
- 07/07/19 08:07:07 (5 years ago)
- Branch:
- python3
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/gui/flight.py
r1004 r1006 715 715 pcr = context.create_pango_context() 716 716 717 layout = Pango.Layout(pcr) # cr.create_layout()717 layout = Pango.Layout(pcr) 718 718 layout.set_text("Malév VA official briefing") 719 719 font = Pango.FontDescription("sans") 720 font.set_size(int(32 * scale *Pango.SCALE))720 font.set_size(int(32 * Pango.SCALE)) 721 721 font.set_weight(Pango.Weight.NORMAL) 722 722 layout.set_font_description(font) … … 740 740 (loginResult.pilotName, loginResult.pilotID)) 741 741 font = Pango.FontDescription("sans") 742 font.set_size(int(16 * scale *Pango.SCALE))742 font.set_size(int(16 * Pango.SCALE)) 743 743 font.set_weight(Pango.Weight.MEDIUM) 744 744 layout.set_font_description(font) … … 763 763 764 764 font = Pango.FontDescription("sans") 765 font.set_size(int(7 * scale *Pango.SCALE))765 font.set_size(int(7 * Pango.SCALE)) 766 766 font.set_weight(Pango.Weight.ULTRALIGHT) 767 767
Note:
See TracChangeset
for help on using the changeset viewer.