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 3499644
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T12:38:11+00:00 2026-05-18T12:38:11+00:00

By default WP7 buttons are surrounded by a black space of 5ish pixels. I’d

  • 0

By default WP7 buttons are surrounded by a black space of 5ish pixels. I’d like to remove this, but I’ve tried setting the Margin, BorderThickness, Padding properties to be a Thinkness of zero, but this seems to have no effect on this mysterious space. Any clues what exactly this spaces is and how I might get rid of it.

Thanks,

Robert

  • 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-05-18T12:38:12+00:00Added an answer on May 18, 2026 at 12:38 pm

    This border is specifically added to increase the size of the button as a touch target. Having this padding makes it easier for people to be sure that they are touching the control they are aiming for.
    If you are trying to remove this to fit more controls on the page be aware you’re probably making it easier for users to accidentally tap the wrong control.

    If you really must do this you must retemplate the button control.

    The only difference you need to make to the default template (you can get a copy of this from Blend) is to change the margin on the controller from

     <Border ... Margin="{StaticResource PhoneTouchTargetOverhang}">
    

    to whatever value is appropriate for you.

    Please also note that by changing this value you’re likely to create issues for yourself when smaller screen devices are introduced.

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

Sidebar

Related Questions

By default, the ordered list looks like this: There are some spacing on the
By default, an unstyled set of nested <ul> lists looks like this (in Chrome,
This seems like a really, really simple problem, but I can't figure it out.
I tried to make a wp7 app with expression blend. But is there a
Please help me, i am new to WP7 development.I have a class like this
Default JVM uses maximum 1.5 GB RAM/JVM Java application. But my Server have 8
Default ASP.NET MVC project has one MapRoute like routes.MapRoute( Default, {controller}/, new { controller
The default Python on the server is 2.4, but Django needs version 2.5 or
By default dialog freezes whole screen but my requirement is when dialog appears then
Since there is no default configuration file In a WP7 app, what is the

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.