Skip to content

Commit

Permalink
Applied changes from pull request pharo-project#13848 (“Fix System Br…
Browse files Browse the repository at this point in the history
…owser scaling”) to Pharo 11.
  • Loading branch information
Rinzwind committed Jul 23, 2023
1 parent e3f3049 commit a01d035
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Calypso-Browser/ClyBrowserMorph.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ ClyBrowserMorph >> ignoreNavigationDuring: aBlock [

{ #category : #initialization }
ClyBrowserMorph >> initialExtent [
^ 850@620
^ 850@620 * self currentWorld displayScaleFactor
]

{ #category : #initialization }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ ClyNotebookPageActionButtonMorph >> forAction: anAction [
passiveEnabledOverDownFillStyle: (self theme buttonPressedFillStyleFor: self);
addUpAction: [ anAction action value ];
setBalloonText: anAction label;
extent: 16@16.
extent: 16@16 * self currentWorld displayScaleFactor.

icon := anAction icon.

Expand Down
2 changes: 1 addition & 1 deletion src/Calypso-Browser/ClyNotebookPageMorph.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ ClyNotebookPageMorph >> initialize [
But this is not good, think a better way."
labelMorph := labelPresenter build
hResizing: #rigid;
width: 120;
width: 120 * self currentWorld displayScaleFactor;
yourself
]

Expand Down
2 changes: 1 addition & 1 deletion src/Calypso-Browser/ClyToolbarMorph.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ ClyToolbarMorph >> browser: anObject [

{ #category : #initialization }
ClyToolbarMorph >> defaultHeight [
^30
^ 30 * self currentWorld displayScaleFactor
]

{ #category : #initialization }
Expand Down

0 comments on commit a01d035

Please sign in to comment.