Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8298601
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T15:50:17+00:00 2026-06-08T15:50:17+00:00

I have message box that is displayed with different messages on different scenarios. My

  • 0

I have message box that is displayed with different messages on different scenarios. My problem is that in portrait mode the message body is fine but in landscape even though there is a lot of space the message body gets wrapped and gets displayed in multiple lines. Why not spread the message text completely??? Is this a known issue in WP7 or is it the native behaviour? To make you all understand the problem am talking about, am attaching 2 pictures of message boxes in Landscape and portrait mode. I have taken a message box with really lengthy message text for testing.

Here is the code for the message box:

void btnLike_Click(object sender, RoutedEventArgs e)
    {
        msgPrompt.Hide();
        MessageBoxResult result = new MessageBoxResult();
        result=MessageBox.Show("Thank You for your feedback!! It was nice to know that you liked this app, We will be back with a more amazing features!!! Upgrades will be available soon!!!", "Feedback", MessageBoxButton.OK);
        if (result == MessageBoxResult.OK)
        {
            Game game = new Game();
            game.Exit();
        }
    }

Please do have a look and provide your comments or fixes in form of code (If any).

Thank you,
Apoorva 🙂Portrait Mode
Landscape mode with text aligned just the same as in portrait mode

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T15:50:19+00:00Added an answer on June 8, 2026 at 3:50 pm

    Although this might be the standard behavior (it looks like it is), you can quite simply create your own custom control to achieve what you’d like to do. I made my first one the other day, and it was quite easy really.

    For more information about how to do the same, you can look at some of these links:

    http://www.windowsphonegeek.com/articles/Creating-a-WP7-Custom-Control-in-7-Steps

    http://www.windowsphonegeek.com/articles/7-Mistakes-Developer-make-when-implementing-Windows-Phone-Custom-Controls

    Happy coding 🙂

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an error message box that gets displayed somewhat frequently (due to the
I have a test winforms app with ThreadExceptionHandler that displays a message box when
I have an element #messages-box, which include title, body, sender, avatar and excerpt. Now,
I have a message box with 3 buttons: Yes, No, Help: var result =
I have a message listener (using ActiveMQ) that implements SessionAwareMessageListener. When the onMessage(Message,Session) method
I have a message handler, which consumes from a JMS queue and that sends
I have a confirmation message box for the user in one of my apps.
I have a search box that has a default value as Search,i need to
I have been getting an error message that I can't resolve. It originates from
I have a problem so strange that I hardly can put an adequate title

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.