[Cuis-dev] gui elements size

Juan Vuletich juan at cuis.st
Wed May 3 11:37:03 PDT 2023


Hi Ruda,

Welcome to the Cuis community!

(inline)
On 4/29/2023 5:18 PM, rsykora--- via Cuis-dev wrote:
> Dear list,
>
>
> I tried to run cuis on my linux. I followed
> https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev/blob/master/Documentation/GettingStarted.md 
>
> and the system starts after
> ; cogspur/squeak Cuis-Smalltalk-Dev/Cuis6.0-5772.image
> .
>
> Is there a way to define the size of the window that is opened (in which
> cuis smalltalk runs)? For me it is, unfortunately, both too big for my 
> screen
> and too small to accommodate the cuis windows (and there are no 
> scrollbars).

I don't know if there is a way to do it from the VM or from the OS, but 
this seems to do the trick:

./cogspur/squeak Cuis-Smalltalk-Dev/Cuis6.0-5772.image -d 'DisplayScreen 
hostOSWindowPosition: 0 at 0; hostOSWindowExtent: 1280 at 740'

What we are doing here is to ask Cuis to run a Smalltalk script to 
position and resize the main OS window. Another possibility would be to 
"maximize" it using the mouse.

> After changing the 'Size of GUI elements', saving the image, closing, 
> and starting
> again, the selected GUI size is not respected. Must I do something else?

Hilaire has already answered this.

> [It is surprising that 'Set system font' on one hand offers
> NotoEgyptianHieroglyphs
> only to tell that the font does not contain ASCII characters and 
> cannot be used.]

Right. That font can not be used for regular code. But it can be used 
(for example) for
     UnicodeString demoAncientEgyptian.

> Thanks for any comments.
>
>
> Best regards
> Ruda

Cheers,

-- 
Juan Vuletich
cuis.st
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich
linkedin.com/in/juan-vuletich-75611b3
twitter.com/JuanVuletich



More information about the Cuis-dev mailing list