Closed Poker-sang closed 4 months ago
Forget about titlebar, wasdk introduced a native titlebar control you can try it in v1.6 exp1
@ghost1372 Thanks for heads-up. I just tried wasdk1.6 and encountered a lot of bugs. The most important thing is that the TitleBar
doesn't show the Content
/Footer
at all, have you encountered this problem?
I did not test it yet, i will try it tonight
@Poker-sang there is a MS Build video on youtube. ms team used this new titlebar and was working fine i need to find that video.
thanks
@Poker-sang there is a MS Build video on youtube. ms team used this new titlebar and was working fine i need to find that video.
https://youtu.be/WR4T24lLoVo?si=_lxZw-OQ14U7MPgJ&t=827 Here you go!
I wrote the simplest repro following the video. But there is still no Content:
Describe the bug
Content
orFooter
is too long, theTitleBar
layout will overflow. However, since I can't predict the actualWidth
of theTitle
, I can't set theCompactStateBreakpoint
accurately.Content
andFooter
have a padding, I had to set theMargin
of theCommandBar
"0,-4". Maybe you can removePadding
and useVerticalContentAlignment="Center"
instead.Steps to reproduce
Expected behavior
TitleBar
limit the width of theContent
andFooter
, or allow theMaxWidth
of theTitle
to be set, or have theTitleBar
automatically adjust theCompactStateBreakpoint
Padding
and useVerticalContentAlignment=‘Center’
instead.Screenshots
Code Platform
Windows Build Number
Other Windows Build number
26120.751
App minimum and target SDK version
Other SDK version
No response
Visual Studio Version
2022
Visual Studio Build Number
No response
Device form factor
No response
Additional context
No response
Help us help you
Yes, but only if others can assist.