-
Notifications
You must be signed in to change notification settings - Fork 635
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
DYN-5426 Setting different font size when the height of the library is smaller #13578
DYN-5426 Setting different font size when the height of the library is smaller #13578
Conversation
Hi @filipeotero Is it because height is a direct reflection of the screen resolution? |
@filipeotero @QilongTang .... but what if I change the size of the dynamo window? |
My understanding is that the size of the library does not change, when Dynamo window size changed, user will have to scroll more or less depending on the new window size. @filipeotero What do you think? |
It changes the size of the font too |
Then I guess I am wrong then.. And this is not desirable.. |
@Jingyi-Wen @hwahlstrom what do you think? |
Hmm...Changing the library font size like this seems very confusing to me since the intention of making the window would most likely be wanting to see more content instead of making the font bigger |
If I set the font size through the dpi resolution, the font is not affected since through CSS it gets the browser's dpi, not the system's. |
@filipeotero you could also pass the DPI to the javascript side from c# and then use that to do your calculations. |
@QilongTang @mjkkirschner I'm calculating now the font size in the |
The reported failure should be sporadic |
…s smaller (#13578) * Setting different font size when the height is smaller * calculate the font size based on the screen height
* Fix CustomNode view layout after it is saved. (#13585) * Fix CustomNode views after it is saved. * Add test * Update WorkspaceSaving.cs * Single quote to double quote in js call functions (#13586) * DYN-5286-MLNodeAutocomplete Adding Analytics (#13581) * DYN-5286-MLNodeAutocomplete-Analytics I added the code for TrackEvent in 4 places: - NodeAutoCompleteSearchControl.xaml.cs - when clicking the Low Confidence combobox for displaying the list of nodes. - NodeAutoCompleteSearchViewModel.cs - when the Node Autocomplete is raised using the Recommented nodes option or the Object Types option. - PreferencesView.xaml.cs when the Slider Confidence Level is updated. And finally I've added additional Actions in IAnalyticsClient.cs * DYN-5286-MLNodeAutocomplete-Analytics CodeReview1 Removed the Actions added in IAnalyticsClient.cs so we can re-use the existing ones (so the method calls were also updated). Added Analytics track events in the Preferences panel when the NodeAutocomplete is se to ML Recomentations or Object Type. The ExportSettings option and ImportSettings option were renamed to Export and Import (so the method calls were also updated). * Update * update * Update Co-authored-by: Aaron (Qilong) <[email protected]> * DYN-5426 Setting different font size when the height of the library is smaller (#13578) * Setting different font size when the height is smaller * calculate the font size based on the screen height Co-authored-by: reddyashish <[email protected]> Co-authored-by: filipeotero <[email protected]> Co-authored-by: Roberto T <[email protected]>
Purpose
Sets the font size depending on the height of the library
Scale at 350% and resolution 3840 x 2160
Scale at 150% and resolution 1920 x 1080
Scale at 100% and resolution 1920 x 1080
Declarations
Check these if you believe they are true
*.resx
filesReviewers
@QilongTang
FYIs
@RobertGlobant20