This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Program to illustrate an issue with .add_sized | |
| // If the window is shorter than the TextEdit, the second TextEdit moves down the window | |
| // Drag the bottom edge of the window upwards to see | |
| // ScrollArea is just there to allow you to scroll down and see the misalignment at the bottom too | |
| // Works fine if using .add() instead of .add_sized() | |
| // | |
| // Tested in egui v0.34.1 | |
| struct MyApp { | |
| words: String, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/python | |
| # -*- encoding:utf-8 -*- | |
| """Translate Google's Transcript into srt file. | |
| Takes google's transcript filename as argument (xml extension required). | |
| NB: to get google's transcript, use tihs URL: | |
| http://video.google.com/timedtext?lang=en&v=VIDEO_ID | |
| """ |