Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hebrew language support? #429

Closed
gonensel opened this issue Mar 29, 2023 · 4 comments
Closed

Hebrew language support? #429

gonensel opened this issue Mar 29, 2023 · 4 comments
Labels
enhancement New feature or request languages

Comments

@gonensel
Copy link

his I create a new file dialog but the buttons don't appear.

this is the code that I used for the create:
manager = pygame_gui.UIManager((SCREEN_SIZE[0], SCREEN_SIZE[1]))
file_dialog = pygame_gui.windows.ui_file_dialog.UIFileDialog(rect=pygame.Rect((SCREEN_SIZE[0]//2, SCREEN_SIZE[1]//2), (SCREEN_SIZE[1] * 0.7, SCREEN_SIZE[0] * 0.7)),manager=manager)

Platform and software (please complete the following information):

  • OS: Mac
  • Pygame GUI version 0.6.8
  • Pygame version 2.3.0

image

@gonensel gonensel added the bug Something isn't working label Mar 29, 2023
@MyreMylar
Copy link
Owner

MyreMylar commented Mar 29, 2023 via email

@gonensel
Copy link
Author

Looks like you have your height and width values the wrong way around.

ok thanks its working
I have another question there is support in Hebrew fonts?

@gonensel gonensel reopened this Mar 30, 2023
@MyreMylar
Copy link
Owner

ok thanks its working I have another question there is support in Hebrew fonts?

Sadly, no native support yet and as hebrew is a right to left language it will require the planned change from pygame.freetype to the pygame.font submodule. This change is planned, but has complications as they modules are similar but not identical and pygame.font is still missing some features of pygame.freetype.

@MyreMylar MyreMylar changed the title UIFileDialog don't have "OK" and "Cancel" buttons Hebrew language support? Apr 5, 2023
@MyreMylar MyreMylar added enhancement New feature or request languages and removed bug Something isn't working labels Apr 5, 2023
@MyreMylar
Copy link
Owner

This was added in #511 and a few other following PRs. Closing this for now in preparation for 0.6.10 release later this week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request languages
Projects
None yet
Development

No branches or pull requests

2 participants