Comments (8)
Broadening this feature request slightly. We should provide new ThemeResources for both the TopPadding on NavigationView.Content and HeaderContent margin on NavigationView.Header.
from microsoft-ui-xaml.
@jamers99 Thank you for the feature request, I agree with you that the top of NavigationView lacks easy customization opportunities. We're planning to add an overwritable ThemeResource to address this. A ThemeResource will allow us to keep the current default padding and also let app developers choose custom values, including 0.
This work was tracked by an internal bug (filed before we went open source). That bug is now resolved and we'll track the request here on GitHub.
from microsoft-ui-xaml.
Maybe the platform could provide a TitlebarHeight which can be consumed in XAML without having to query the OccludedRect - and this value updates on DPI changes?
This value could then be used by the NavigationView top padding when Titlebar is extended, and overridden by a non empty/null value in the app resources?
from microsoft-ui-xaml.
Very brief spec for this feature request is now available here: microsoft/microsoft-ui-xaml-specs#8
from microsoft-ui-xaml.
Modest starter for whoever picks up this work: https://github.com/microsoft/microsoft-ui-xaml/tree/user/cglein/navViewTopPadding
(just adds the property, doesn't consume it)
from microsoft-ui-xaml.
Hi guys, is this still targeting 2.2?
from microsoft-ui-xaml.
Hi guys, is this still targeting 2.2?
While @RBrid would know with more certainty, I believe we are still targeting WinUI 2.2
from microsoft-ui-xaml.
Reopening the issue to make sure I update documentation. @RBrid, can you double-check that the Release Checklist is accurate?
from microsoft-ui-xaml.
Related Issues (20)
- Is the sub-process listed in Task Manager always the name of the csproj? HOT 1
- `TextBlock.LineHeight` behaves unexpectedly HOT 4
- WASDK Nuget Package cannot be installed if there is no internet connection! HOT 1
- NavigationBackButtonNormalStyle is wrong when used directly
- NavigationView causes exception on destruct while debugging
- Cannot create a new WinUI 3 app and target .NET 8 HOT 5
- Standard window icons invisible when ExtendsContentIntoTitleBar is set and accent color for title bars is used
- Massive lag when dragging a WinUI3 window HOT 2
- InfoBadge information is not centered
- Button cuts the content at some scaling levels
- Proposal: Ability to enable scroll on a `ContentDialog`
- Proposal: `AutoSuggestBox.IsReadOnly` HOT 3
- `TreeView` doesn't preserve the value of `IsExpanded` when containers in "content mode" are recycled and reused HOT 2
- There isn't a null check before calling **DataContextChanged** in .g.cs file for .xaml
- The error "Property Not Found" occurs when using x:DataType in a DataTemplate. HOT 7
- TeachingTip Target Property Doesn't Work in WindowsAppSDK version 1.5 HOT 1
- I'm geting the incorrect point object from from Microsoft.UI.Xaml.Input.PointerRoutedEventArgs.GetCurrentPoint() HOT 2
- The property `FlyoutBase.IsOpen` doesn't raise property changed notification HOT 1
- CoreMessagingXP.dll crash HOT 1
- FileOpenPicker, FolderPicker and FolderPicker not available in partial trust/AppContainer HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from microsoft-ui-xaml.