[SOLVED] Button does not look like a button

Please post public support tickets here. Note: for private support tickets, please send an email to support@cshtml5.com instead.
Shmuelie
Posts: 1
Joined: Wed Jun 24, 2015 3:40 pm

[SOLVED] Button does not look like a button

Postby Shmuelie » Wed Jun 24, 2015 3:50 pm

Currently a button is just a flat panel with some content inside it. What would be nice would be if a button was styled to look like a button and react like a button to hover and click or at least by default had the hand cursor so a user realizes it's a clickable area.

JS-Support @Userware
Site Admin
Posts: 928
Joined: Tue Apr 08, 2014 3:42 pm

Re: [Bug/Feature] Button does not look like a button

Postby JS-Support @Userware » Thu Jun 25, 2015 12:26 am

Hi Shmuelie,

Thanks for your feedback and welcome to the forums.

In the current Beta you can nest any content inside the button. So a workaround to make it look exactly the way you want is to add some graphics inside your button.

For example:

Code: Select all

<Button>
  <Border CornerRadius="5" Background="#FFAAAAAA">
    <StackPanel Orientation="Horizontal">
      <Image Source="..."/>
      <TextBlock Text="Some text near the image"/>
    </StackPanel>
  <Border>
</Button>


In one of the next betas (planned for Q4 2015) there will be full support for ControlTemplates, VisualStateManager, Animations, and more, so you will be able to completely customize the button appearance and behavior.

We are also going to add support for cursors soon.

Thank you again, and please feel free to keep posting feedback.

Regards,
JS-Support


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 2 guests

 

 

cron