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)
- Memory Increases When Retrieving BindingPath.Path HOT 5
- Wrong cursor displayed in Flyouts (no I-Beam in TextBox) HOT 2
- PipsPager keyboard navigation past first or last pip HOT 3
- Proposal: Method Based Administrator elevation (MSIX Package)
- When dragging and dropping ListView items, use `e.Data.SetDataProvider (StandardDataFormats. StorageItems, MyDataProviderHandle)` ; Unable to implement delayed data provision. HOT 1
- x:Bind with Mode=OneTime triggers multiple times HOT 2
- Focus does not move into the frame after navigating to one from a navigation view. HOT 2
- Setting true to NavigationFailedEventArgs.Handled is not respected
- Component Xaml file missing from app directory HOT 4
- Can not Build Project due to error message APPX110 Payload contains two or more files with the same destination path '.pdb'. HOT 1
- The Print UI dialogue is not shown on the Windows platform when the "EntryPoint" is set as "Windows.PartialTrustApplication" in Package.appxmanifest. HOT 2
- The first time "microsoft." is typed into a TextBox control, it will be capitalized for no reason HOT 4
- Multiple x:Bind to Name fails to build HOT 4
- While scrolling through the rows in the DataGrid, the value of the ComboBox element in the DataGridTemplateColumn CellTemplate is not updated correctly HOT 2
- Scrolling through very large number of items in ItemsRepeater + virtualized Layout + ScrollView causes blank frames HOT 2
- Command Bar - Issue with the Z - Index flow when "More Options" flyout is open. HOT 1
- Unexpected items were obtained in a subclass of ItemsControl HOT 1
- [ListView] The app crash when try to use the right click during a reorder operation. HOT 1
- WinUI 3 Acrylic effect not working properly over MediaPlayerElement HOT 2
- Dragging a file from Explorer over top of the application window will launch another process HOT 1
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.