How to setup a shopping based UI for different screen sizes in unity?Capture iOS Simulator video for App PreviewHow to handle image scale on all the available iPhone resolutions?How to set UITableViewCell height depending on screen sizeLaunch Screen Image size for all iOS screen sizesUIImageView missing images in Launch Screen on deviceIn Swift, how to determine the physical size of a device screen?iOS- Image resource for iPhone 6 and 6 plusHow to obtain physical screen size in iOS simulator with Unity?Scale touch points for different screen sizesHow to get correct resolution for UI elements in different screen size devices using Unity?

Landing in very high winds

What does 'script /dev/null' do?

Is ipsum/ipsa/ipse a third person pronoun, or can it serve other functions?

Does bootstrapped regression allow for inference?

How could a lack of term limits lead to a "dictatorship?"

A poker game description that does not feel gimmicky

How to deal with fear of taking dependencies

extract characters between two commas?

What is GPS' 19 year rollover and does it present a cybersecurity issue?

map list to bin numbers

Why is the design of haulage companies so “special”?

Shall I use personal or official e-mail account when registering to external websites for work purpose?

Email Account under attack (really) - anything I can do?

How do I create uniquely male characters?

I’m planning on buying a laser printer but concerned about the life cycle of toner in the machine

Does the average primeness of natural numbers tend to zero?

Is it legal to have the "// (c) 2019 John Smith" header in all files when there are hundreds of contributors?

Can a planet have a different gravitational pull depending on its location in orbit around its sun?

Can the Produce Flame cantrip be used to grapple, or as an unarmed strike, in the right circumstances?

What does "enim et" mean?

How to move the player while also allowing forces to affect it

Symmetry in quantum mechanics

Manga about a female worker who got dragged into another world together with this high school girl and she was just told she's not needed anymore

How is it possible for user's password to be changed after storage was encrypted? (on OS X, Android)



How to setup a shopping based UI for different screen sizes in unity?


Capture iOS Simulator video for App PreviewHow to handle image scale on all the available iPhone resolutions?How to set UITableViewCell height depending on screen sizeLaunch Screen Image size for all iOS screen sizesUIImageView missing images in Launch Screen on deviceIn Swift, how to determine the physical size of a device screen?iOS- Image resource for iPhone 6 and 6 plusHow to obtain physical screen size in iOS simulator with Unity?Scale touch points for different screen sizesHow to get correct resolution for UI elements in different screen size devices using Unity?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















I am trying to set up a shopping based UI for different screen sizes.In the canvas settings inside the Inspector I have given a reference resolution of 750 x 1334(Iphone 6)



UI scale mode - Scale with screen size
Match(Width-Height) - 0.5 (Which I change to one can see them in the images)



Somehow I placed the Images and text according to given design.It looks ok in the Iphone resolution.But in Ipad the buttons and text gets mixed up.
Now I change the Match(Width-Height) - 1 .The result is it looks okay but in the ipad view it looks small and there is plenty of space along the two sides.
How to get a matching view/look for all the different screen sizes.



Images are given below
Match given as 0.5



Match given as 1










share|improve this question




























    0















    I am trying to set up a shopping based UI for different screen sizes.In the canvas settings inside the Inspector I have given a reference resolution of 750 x 1334(Iphone 6)



    UI scale mode - Scale with screen size
    Match(Width-Height) - 0.5 (Which I change to one can see them in the images)



    Somehow I placed the Images and text according to given design.It looks ok in the Iphone resolution.But in Ipad the buttons and text gets mixed up.
    Now I change the Match(Width-Height) - 1 .The result is it looks okay but in the ipad view it looks small and there is plenty of space along the two sides.
    How to get a matching view/look for all the different screen sizes.



    Images are given below
    Match given as 0.5



    Match given as 1










    share|improve this question
























      0












      0








      0








      I am trying to set up a shopping based UI for different screen sizes.In the canvas settings inside the Inspector I have given a reference resolution of 750 x 1334(Iphone 6)



      UI scale mode - Scale with screen size
      Match(Width-Height) - 0.5 (Which I change to one can see them in the images)



      Somehow I placed the Images and text according to given design.It looks ok in the Iphone resolution.But in Ipad the buttons and text gets mixed up.
      Now I change the Match(Width-Height) - 1 .The result is it looks okay but in the ipad view it looks small and there is plenty of space along the two sides.
      How to get a matching view/look for all the different screen sizes.



      Images are given below
      Match given as 0.5



      Match given as 1










      share|improve this question














      I am trying to set up a shopping based UI for different screen sizes.In the canvas settings inside the Inspector I have given a reference resolution of 750 x 1334(Iphone 6)



      UI scale mode - Scale with screen size
      Match(Width-Height) - 0.5 (Which I change to one can see them in the images)



      Somehow I placed the Images and text according to given design.It looks ok in the Iphone resolution.But in Ipad the buttons and text gets mixed up.
      Now I change the Match(Width-Height) - 1 .The result is it looks okay but in the ipad view it looks small and there is plenty of space along the two sides.
      How to get a matching view/look for all the different screen sizes.



      Images are given below
      Match given as 0.5



      Match given as 1







      c# ios unity3d uiview






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 8 at 7:22









      zyonneozyonneo

      4783922




      4783922






















          1 Answer
          1






          active

          oldest

          votes


















          1














          Actually, u don't need to change the match size.



          what u actually have to use are anchors. If u use anchors no matter how the size of the screen changes the UI element will resize with it.



          see this video from unity officials. It will definitely solve ur issue.



          https://www.youtube.com/watch?v=FeheZqu85WI&list=PLX2vGYjWbI0Qp0sD8_RKgbWul7z_eyNAv&index=2



          thank you.
          U can accept this answer if this solves ur issue.






          share|improve this answer























          • The images looks stretched in width when I set customised anchors for ipad(2228 x 1668 resolution) and looks stretched in height when I set customised anchors for iphone(750 x 1338).

            – zyonneo
            Mar 11 at 6:45











          • Dont stretch anchor over the image just pin it at the center of the image then it wont strech.

            – Naresh Bisht
            Mar 11 at 7:04












          • avoid customized anchor?

            – zyonneo
            Mar 11 at 7:08






          • 1





            Potrait and landscape..How will that affect the images...potrait mode really narrows the width.

            – zyonneo
            Mar 11 at 8:54






          • 1





            If u want to resize Then u have to put the anchor around the image like all triangle of the anchor at all corner of the image. Also tick preserves aspect ratio in image component in unity inspector and if stretching anchor over the image is reuslting in image getting too stretched try anchoring anchor inside the image but dont stretch all over the image just stretch a little for eg is image is a rectangle of 3*6 then make anchor as 1*2 and pls put anchor inside that image.

            – Naresh Bisht
            Mar 12 at 2:03











          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55058504%2fhow-to-setup-a-shopping-based-ui-for-different-screen-sizes-in-unity%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          1














          Actually, u don't need to change the match size.



          what u actually have to use are anchors. If u use anchors no matter how the size of the screen changes the UI element will resize with it.



          see this video from unity officials. It will definitely solve ur issue.



          https://www.youtube.com/watch?v=FeheZqu85WI&list=PLX2vGYjWbI0Qp0sD8_RKgbWul7z_eyNAv&index=2



          thank you.
          U can accept this answer if this solves ur issue.






          share|improve this answer























          • The images looks stretched in width when I set customised anchors for ipad(2228 x 1668 resolution) and looks stretched in height when I set customised anchors for iphone(750 x 1338).

            – zyonneo
            Mar 11 at 6:45











          • Dont stretch anchor over the image just pin it at the center of the image then it wont strech.

            – Naresh Bisht
            Mar 11 at 7:04












          • avoid customized anchor?

            – zyonneo
            Mar 11 at 7:08






          • 1





            Potrait and landscape..How will that affect the images...potrait mode really narrows the width.

            – zyonneo
            Mar 11 at 8:54






          • 1





            If u want to resize Then u have to put the anchor around the image like all triangle of the anchor at all corner of the image. Also tick preserves aspect ratio in image component in unity inspector and if stretching anchor over the image is reuslting in image getting too stretched try anchoring anchor inside the image but dont stretch all over the image just stretch a little for eg is image is a rectangle of 3*6 then make anchor as 1*2 and pls put anchor inside that image.

            – Naresh Bisht
            Mar 12 at 2:03















          1














          Actually, u don't need to change the match size.



          what u actually have to use are anchors. If u use anchors no matter how the size of the screen changes the UI element will resize with it.



          see this video from unity officials. It will definitely solve ur issue.



          https://www.youtube.com/watch?v=FeheZqu85WI&list=PLX2vGYjWbI0Qp0sD8_RKgbWul7z_eyNAv&index=2



          thank you.
          U can accept this answer if this solves ur issue.






          share|improve this answer























          • The images looks stretched in width when I set customised anchors for ipad(2228 x 1668 resolution) and looks stretched in height when I set customised anchors for iphone(750 x 1338).

            – zyonneo
            Mar 11 at 6:45











          • Dont stretch anchor over the image just pin it at the center of the image then it wont strech.

            – Naresh Bisht
            Mar 11 at 7:04












          • avoid customized anchor?

            – zyonneo
            Mar 11 at 7:08






          • 1





            Potrait and landscape..How will that affect the images...potrait mode really narrows the width.

            – zyonneo
            Mar 11 at 8:54






          • 1





            If u want to resize Then u have to put the anchor around the image like all triangle of the anchor at all corner of the image. Also tick preserves aspect ratio in image component in unity inspector and if stretching anchor over the image is reuslting in image getting too stretched try anchoring anchor inside the image but dont stretch all over the image just stretch a little for eg is image is a rectangle of 3*6 then make anchor as 1*2 and pls put anchor inside that image.

            – Naresh Bisht
            Mar 12 at 2:03













          1












          1








          1







          Actually, u don't need to change the match size.



          what u actually have to use are anchors. If u use anchors no matter how the size of the screen changes the UI element will resize with it.



          see this video from unity officials. It will definitely solve ur issue.



          https://www.youtube.com/watch?v=FeheZqu85WI&list=PLX2vGYjWbI0Qp0sD8_RKgbWul7z_eyNAv&index=2



          thank you.
          U can accept this answer if this solves ur issue.






          share|improve this answer













          Actually, u don't need to change the match size.



          what u actually have to use are anchors. If u use anchors no matter how the size of the screen changes the UI element will resize with it.



          see this video from unity officials. It will definitely solve ur issue.



          https://www.youtube.com/watch?v=FeheZqu85WI&list=PLX2vGYjWbI0Qp0sD8_RKgbWul7z_eyNAv&index=2



          thank you.
          U can accept this answer if this solves ur issue.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Mar 8 at 8:04









          Naresh BishtNaresh Bisht

          1167




          1167












          • The images looks stretched in width when I set customised anchors for ipad(2228 x 1668 resolution) and looks stretched in height when I set customised anchors for iphone(750 x 1338).

            – zyonneo
            Mar 11 at 6:45











          • Dont stretch anchor over the image just pin it at the center of the image then it wont strech.

            – Naresh Bisht
            Mar 11 at 7:04












          • avoid customized anchor?

            – zyonneo
            Mar 11 at 7:08






          • 1





            Potrait and landscape..How will that affect the images...potrait mode really narrows the width.

            – zyonneo
            Mar 11 at 8:54






          • 1





            If u want to resize Then u have to put the anchor around the image like all triangle of the anchor at all corner of the image. Also tick preserves aspect ratio in image component in unity inspector and if stretching anchor over the image is reuslting in image getting too stretched try anchoring anchor inside the image but dont stretch all over the image just stretch a little for eg is image is a rectangle of 3*6 then make anchor as 1*2 and pls put anchor inside that image.

            – Naresh Bisht
            Mar 12 at 2:03

















          • The images looks stretched in width when I set customised anchors for ipad(2228 x 1668 resolution) and looks stretched in height when I set customised anchors for iphone(750 x 1338).

            – zyonneo
            Mar 11 at 6:45











          • Dont stretch anchor over the image just pin it at the center of the image then it wont strech.

            – Naresh Bisht
            Mar 11 at 7:04












          • avoid customized anchor?

            – zyonneo
            Mar 11 at 7:08






          • 1





            Potrait and landscape..How will that affect the images...potrait mode really narrows the width.

            – zyonneo
            Mar 11 at 8:54






          • 1





            If u want to resize Then u have to put the anchor around the image like all triangle of the anchor at all corner of the image. Also tick preserves aspect ratio in image component in unity inspector and if stretching anchor over the image is reuslting in image getting too stretched try anchoring anchor inside the image but dont stretch all over the image just stretch a little for eg is image is a rectangle of 3*6 then make anchor as 1*2 and pls put anchor inside that image.

            – Naresh Bisht
            Mar 12 at 2:03
















          The images looks stretched in width when I set customised anchors for ipad(2228 x 1668 resolution) and looks stretched in height when I set customised anchors for iphone(750 x 1338).

          – zyonneo
          Mar 11 at 6:45





          The images looks stretched in width when I set customised anchors for ipad(2228 x 1668 resolution) and looks stretched in height when I set customised anchors for iphone(750 x 1338).

          – zyonneo
          Mar 11 at 6:45













          Dont stretch anchor over the image just pin it at the center of the image then it wont strech.

          – Naresh Bisht
          Mar 11 at 7:04






          Dont stretch anchor over the image just pin it at the center of the image then it wont strech.

          – Naresh Bisht
          Mar 11 at 7:04














          avoid customized anchor?

          – zyonneo
          Mar 11 at 7:08





          avoid customized anchor?

          – zyonneo
          Mar 11 at 7:08




          1




          1





          Potrait and landscape..How will that affect the images...potrait mode really narrows the width.

          – zyonneo
          Mar 11 at 8:54





          Potrait and landscape..How will that affect the images...potrait mode really narrows the width.

          – zyonneo
          Mar 11 at 8:54




          1




          1





          If u want to resize Then u have to put the anchor around the image like all triangle of the anchor at all corner of the image. Also tick preserves aspect ratio in image component in unity inspector and if stretching anchor over the image is reuslting in image getting too stretched try anchoring anchor inside the image but dont stretch all over the image just stretch a little for eg is image is a rectangle of 3*6 then make anchor as 1*2 and pls put anchor inside that image.

          – Naresh Bisht
          Mar 12 at 2:03





          If u want to resize Then u have to put the anchor around the image like all triangle of the anchor at all corner of the image. Also tick preserves aspect ratio in image component in unity inspector and if stretching anchor over the image is reuslting in image getting too stretched try anchoring anchor inside the image but dont stretch all over the image just stretch a little for eg is image is a rectangle of 3*6 then make anchor as 1*2 and pls put anchor inside that image.

          – Naresh Bisht
          Mar 12 at 2:03



















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55058504%2fhow-to-setup-a-shopping-based-ui-for-different-screen-sizes-in-unity%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Save data to MySQL database using ExtJS and PHP [closed]2019 Community Moderator ElectionHow can I prevent SQL injection in PHP?Which MySQL data type to use for storing boolean valuesPHP: Delete an element from an arrayHow do I connect to a MySQL Database in Python?Should I use the datetime or timestamp data type in MySQL?How to get a list of MySQL user accountsHow Do You Parse and Process HTML/XML in PHP?Reference — What does this symbol mean in PHP?How does PHP 'foreach' actually work?Why shouldn't I use mysql_* functions in PHP?

          Compiling GNU Global with universal-ctags support Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Data science time! April 2019 and salary with experience The Ask Question Wizard is Live!Tags for Emacs: Relationship between etags, ebrowse, cscope, GNU Global and exuberant ctagsVim and Ctags tips and trickscscope or ctags why choose one over the other?scons and ctagsctags cannot open option file “.ctags”Adding tag scopes in universal-ctagsShould I use Universal-ctags?Universal ctags on WindowsHow do I install GNU Global with universal ctags support using Homebrew?Universal ctags with emacsHow to highlight ctags generated by Universal Ctags in Vim?

          Add ONERROR event to image from jsp tldHow to add an image to a JPanel?Saving image from PHP URLHTML img scalingCheck if an image is loaded (no errors) with jQueryHow to force an <img> to take up width, even if the image is not loadedHow do I populate hidden form field with a value set in Spring ControllerStyling Raw elements Generated from JSP tagds with Jquery MobileLimit resizing of images with explicitly set width and height attributeserror TLD use in a jsp fileJsp tld files cannot be resolved