Skip to content

Commit 16dd540

Browse files
[UWP Renderer] Add title to action when icon is present (#8231)
* 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>
1 parent 4e5a794 commit 16dd540

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

source/uwp/SharedRenderer/lib/ActionHelpers.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,9 @@ namespace AdaptiveCards::Rendering::Xaml_Rendering::ActionHelpers
158158
XamlHelpers::AppendXamlElementToPanel(separator, buttonContentsStackPanel);
159159
}
160160

161+
// Add Text to stack panel
162+
XamlHelpers::AppendXamlElementToPanel(buttonText, buttonContentsStackPanel);
163+
161164
// Finally, put the stack panel inside the final button
162165
button.Content(buttonContentsStackPanel);
163166
}

0 commit comments

Comments
 (0)