CommandFusion Wiki

Documentation Resources

User Tools

Site Tools


software:gui-designer:gui-archive

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

software:gui-designer:gui-archive [2019/07/26 06:42]
jarrod [Scaling & Positioning]
software:gui-designer:gui-archive [2019/08/04 23:41] (current)
jarrod [iPads and iPhones]
Line 10: Line 10:
 Prior to v4.1, iViewer would simply load the first .gui file it found in the archive. Prior to v4.1, iViewer would simply load the first .gui file it found in the archive.
 </​WRAP>​ </​WRAP>​
 +
 +<WRAP center round alert 90%>
 +A zip file cannot contain other zip files within it!
 +</​WRAP>​
 +
  
  
Line 29: Line 34:
   - If still no GUI found, it will simply use the first found GUI file.   - If still no GUI found, it will simply use the first found GUI file.
  
-==== iPads ====+==== iPads and iPhones ​====
  
-For iPads or tablets using a logical resolution of 1024x768 (All iPads except ​iPad Pro) the app will first look for filepath containing ''​GUI-iPad''​ +iPhone and iPad devices choose which GUI file to load based on a few different file naming options, checked in the following order:
- +
-==== iPhones ==== +
-iPhone ​devices choose which GUI file to load based on a few different file naming options, checked in the following order:+
  
   - Check for filepath matching the logical height of the device, prefixed by ''​GUI-''​. For example logical resolution of iPhone XR is 414w x 896h, so it will look for a filepath matching ''​GUI-896h''​.   - Check for filepath matching the logical height of the device, prefixed by ''​GUI-''​. For example logical resolution of iPhone XR is 414w x 896h, so it will look for a filepath matching ''​GUI-896h''​.
Line 41: Line 43:
   - If still no GUI found, it will simply use the first found GUI file.   - If still no GUI found, it will simply use the first found GUI file.
  
-Here is a list of the GUI sizes (in their search order) and the iPhones ​that support it:+Here is a list of the GUI sizes (in their search order) and the devices ​that support it:
  
 +  * ''​GUI-iPadPro''​ = iPad Pro 12.9"
 +  * ''​GUI-1366h''​ = iPad Pro 12.9"
 +  * ''​GUI-1194h''​ = iPad Pro 11"
 +  * ''​GUI-1112h''​ = iPad Air 10.5"
 +  * ''​GUI-iPad''​ = iPad (all other models)
 +  * ''​GUI-1024h''​ = iPad (all other models)
   * ''​GUI-896h''​ = iPhone XS Max, XR   * ''​GUI-896h''​ = iPhone XS Max, XR
   * ''​GUI-812h''​ = iPhone XS, X   * ''​GUI-812h''​ = iPhone XS, X
Line 49: Line 57:
   * ''​GUI-568h''​ = iPhone SE, 5S, 5, 5C   * ''​GUI-568h''​ = iPhone SE, 5S, 5, 5C
   * ''​GUI''​ = iPhone 4S, 4, 3GS, 3G, 2G   * ''​GUI''​ = iPhone 4S, 4, 3GS, 3G, 2G
- 
-For more info on iOS logical resolutions (Points), see this excellent guide: 
-https://​www.paintcodeapp.com/​news/​ultimate-guide-to-iphone-resolutions 
  
 ==== Scaling & Positioning ==== ==== Scaling & Positioning ====
Line 60: Line 65:
  
 Within guiDesigner,​ in your project properties, there is a special property for page positioning that only affects android devices.\\ Within guiDesigner,​ in your project properties, there is a special property for page positioning that only affects android devices.\\
-When the project page size does not match the device resolution, you can choose to scale the project a variety of ways. [[software:​gui-designer:​project-properties|See here for more info]].+When the project page size does not match the device resolution, you can choose to scale the project a variety of ways. [[software:​gui-designer:​project-properties#​positioning-android-only|See here for more info]].
  
 === iOS === === iOS ===
Line 66: Line 71:
 If the GUI is smaller than the device resolution, it will be scaled to fill the screen, maintaining aspect ratio. So black bars will be visible if the GUI does not fully fill the screen.\\ If the GUI is smaller than the device resolution, it will be scaled to fill the screen, maintaining aspect ratio. So black bars will be visible if the GUI does not fully fill the screen.\\
 If the GUI is larger than the device resolution, it will be rendered in the middle of the screen and cropped to suit the screen. If the GUI is larger than the device resolution, it will be rendered in the middle of the screen and cropped to suit the screen.
 +
 +A great resource for all iOS device resolutions and screen sizes:\\
 +https://​iosref.com/​res/​
 +
 +For more info on iPhone logical resolutions (Points), see this excellent guide:
 +https://​www.paintcodeapp.com/​news/​ultimate-guide-to-iphone-resolutions
software/gui-designer/gui-archive.1564123330.txt.gz · Last modified: 2019/07/26 06:42 by jarrod