Skip to content

Commit

Permalink
[UWP Renderer] Add title to action when icon is present (#8231)
Browse files Browse the repository at this point in the history
* Switch to gotFocus (#8148) (#8150)

* Update custom.props

* [UWP] Update custom.props for object model release (#8225)

* Update custom.props for object model release

* Updated Xcode version (#8222)

* removed build step as they are redundant (#8201)

* removed build step as they are redundant

* added pod installation step

Co-authored-by: Joseph Woo <Joseph.Woo@microsoft.com>

* [UWP Renderer] Add a null check to inline action rendering (#8228)

* Update custom.props for object model release

* Updated Xcode version (#8222)

* removed build step as they are redundant (#8201)

* removed build step as they are redundant

* added pod installation step

* Add a null check for inline Actions

Co-authored-by: Joseph Woo <Joseph.Woo@microsoft.com>

* Add title to button

---------

Co-authored-by: Joseph Woo <Joseph.Woo@microsoft.com>
  • Loading branch information
anna-dingler and jwoo-msft authored Feb 22, 2023
1 parent 4e5a794 commit 16dd540
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions source/uwp/SharedRenderer/lib/ActionHelpers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,9 @@ namespace AdaptiveCards::Rendering::Xaml_Rendering::ActionHelpers
XamlHelpers::AppendXamlElementToPanel(separator, buttonContentsStackPanel);
}

// Add Text to stack panel
XamlHelpers::AppendXamlElementToPanel(buttonText, buttonContentsStackPanel);

// Finally, put the stack panel inside the final button
button.Content(buttonContentsStackPanel);
}
Expand Down

0 comments on commit 16dd540

Please sign in to comment.