want to make a screen independent mainwindow ?
i want to make a screen independent mainwindow.
Don't know where the screensize variable is containt in.
Here is the simple code.
R E B O L [title: 'Main Window' ]
view center-face layout [size 700x750 ]
size should be a percentage a the real screen where the rebol application is running on.
Let us say width 50% and Height also 50%.
posted by: Mennohexo 24-Jun-2017/12:51:01-7:00
This ought to do it:
view center-face layout [size system/view/screen-face/size / 2]
posted by: Chris 24-Jun-2017/14:39:18-7:00
uh double message.
posted by: Mennohexo 24-Jun-2017/15:03:25-7:00