Adjust code sample layout and minimum height#2101
Conversation
Added MinHeight to CodePresenter for better visibility. Reduced bottom margin of XamlPresenter in ColorPage to tighten spacing below code samples.
niels9001
left a comment
There was a problem hiding this comment.
Verified that it works! Thanks!
|
/azp run |
1 similar comment
|
/azp run |
This comment was marked as outdated.
This comment was marked as outdated.
|
@ghost1372 (just so you know) This PR is related to the changes in #1540 where Grid Rows and the Header were removed from SampleCodePresenter; presumably because it was thought that Visual State "InlineSample" wasn't used?? |
Text is wrapping just fine..
|
|
Oh sorry, then the screenshot must have been made after the height adjustment and before the Wrap property was added 🤐 |
Yeah 😆, I noticed the text wrapping issue just after I opened this PR so I pushed this commit to fix it rapidly. |

Description
Added MinHeight to CodePresenter for better visibility. Reduced bottom margin of XamlPresenter in ColorPage to tighten spacing below code samples.
Motivation and Context
How Has This Been Tested?
Manually tested
Screenshots (if appropriate):
Before
After
Types of changes