diff --git a/src/MooseIDE-CoUsageMap/MiCoMenuManager.class.st b/src/MooseIDE-CoUsageMap/MiCoMenuManager.class.st index 2ad4e7596..94f1d3a92 100644 --- a/src/MooseIDE-CoUsageMap/MiCoMenuManager.class.st +++ b/src/MooseIDE-CoUsageMap/MiCoMenuManager.class.st @@ -99,9 +99,10 @@ MiCoMenuManager >> fillTagMenu: menu for: aMiCoBox [ { #category : #'building - menus' } MiCoMenuManager >> iconFormFor: aMiCoTag [ + ^ (FormCanvas extent: 15 asPoint) - fillColor: aMiCoTag color; - form + fillColor: aMiCoTag color; + form ] { #category : #accessing } diff --git a/src/MooseIDE-Meta/MiImportModelFromFileDialog.class.st b/src/MooseIDE-Meta/MiImportModelFromFileDialog.class.st index 4a40df6d2..b80878dd9 100644 --- a/src/MooseIDE-Meta/MiImportModelFromFileDialog.class.st +++ b/src/MooseIDE-Meta/MiImportModelFromFileDialog.class.st @@ -51,7 +51,10 @@ MiImportModelFromFileDialog class >> windowExtent [ { #category : #action } MiImportModelFromFileDialog >> closeEntitiesChoice [ - self withWindowDo: [ :window | window extent: self class windowExtent ] + self layout: self defaultLayout. + + self withWindowDo: [ :window | + window resize: self class windowExtent ] ] { #category : #initialization } @@ -278,7 +281,7 @@ MiImportModelFromFileDialog >> openEntitiesChoice [ on: importingContext. self withWindowDo: [ :window | "The double #window is a patch for a spec bug. August 2024" - window window extent: self class fullWindowExtent ]. + window resize: self class fullWindowExtent ]. self layout: (self defaultLayout add: customEntities; diff --git a/src/MooseIDE-Meta/MiImportModelFromSmalltalkDialog.class.st b/src/MooseIDE-Meta/MiImportModelFromSmalltalkDialog.class.st index 52810611f..68064d23a 100644 --- a/src/MooseIDE-Meta/MiImportModelFromSmalltalkDialog.class.st +++ b/src/MooseIDE-Meta/MiImportModelFromSmalltalkDialog.class.st @@ -101,8 +101,8 @@ MiImportModelFromSmalltalkDialog >> defaultLayout [ MiImportModelFromSmalltalkDialog >> hideAdvancedSettings [ advancedSettingsButton icon: (self iconNamed: #arrowDown). - self withWindowDo: [ :window | - window extent: self class windowExtent ]. + self withWindowDo: [ :window | + window resize: self class windowExtent ]. self layout: self defaultLayout ] @@ -254,7 +254,7 @@ MiImportModelFromSmalltalkDialog >> showAdvancedSettings [ advancedSettingsButton icon: (self iconNamed: #arrowUp). self withWindowDo: [ :window | - window extent: self class fullWindowExtent ]. + window resize: self class fullWindowExtent ]. self layout: (self simpleLayout add: advancedSettingsButton height: self class buttonHeight; add: self advancedSettingsLayout;