Skip to content
This repository has been archived by the owner on Aug 31, 2021. It is now read-only.

Add support for new device sizes in new stack templates #2138

Open
wants to merge 1 commit into
base: develop-9.6
Choose a base branch
from

Conversation

livecodepanos
Copy link
Contributor

@livecodepanos livecodepanos commented Jul 13, 2020

This patch adds support for new device sizes in new stack templates, both in the 'New File' menu and the in the start center.

Screenshot 2020-07-14 at 21 33 14

Start Center:

Screenshot 2020-07-13 at 16 54 48

After pressing "New" in Start Center:

Screenshot 2020-07-14 at 21 42 49

After pressing "Tablet Portrait":

Screenshot 2020-07-14 at 21 43 00

After pressing "Tablet Landscape":

Screenshot 2020-07-14 at 21 44 02

After pressing "Phone":

Screenshot 2020-07-14 at 21 33 43

@livecodepanos livecodepanos added this to the 9.6.1-rc-1 milestone Jul 13, 2020
This patch adds support for new device sizes in new stack
templates, both in the 'New File' menu and the in the start center.
@livecodepanos livecodepanos force-pushed the update_ide_new_file_menu branch from 1f683f8 to de99f27 Compare July 14, 2020 18:42
@livecodepanos livecodepanos modified the milestones: 9.6.1-rc-1, 9.6.2-rc-1 Aug 13, 2020
@@ -1364,16 +1364,39 @@ private function revMenubarFileMenu pContext
put true into tCanSaveStack
end if

local sDeviceList
put \
"Generic Android 6-inch Phone (412,775)" & return & \
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

all the iOS ones use x rather than ,

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

really would be better as a configuration file somewhere

"Generic Android 6-inch Phone (412,775)" & return & \
"Generic Android 7-inch Phablet (600, 1024)" & return & \
"Generic Android 10-inch Tablet Portrait (720,1280)" & return & \
"Generic Android 10-inch Tablet Landscape 1280,720)" & return & \
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing left paren

local sDeviceList
put \
"Generic Android 6-inch Phone (412,775)" & return & \
"Generic Android 7-inch Phablet (600, 1024)" & return & \
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

extra space here compared to others

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants