Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite UI in XAML #43

Open
NathanTheGr8 opened this issue Dec 31, 2018 · 2 comments
Open

Rewrite UI in XAML #43

NathanTheGr8 opened this issue Dec 31, 2018 · 2 comments
Assignees

Comments

@NathanTheGr8
Copy link
Contributor

This is an echancement idea to redo the UI to look more modern and be resizeable. I was trying to modernize the UI without writing it, but it was becoming a hassle. You will hopefully see a pull request from me in the next week or so with a working UI.

I polled r/Powershell for ideas. See the post here https://www.reddit.com/r/PowerShell/comments/ab8kda/making_a_powershell_net_gui_look_modern/

@NathanTheGr8 NathanTheGr8 changed the title We write UI in XAML Rewrite UI in XAML Dec 31, 2018
@NathanTheGr8
Copy link
Contributor Author

Here is quick example WPF form I made.
image

Example Code https://gist.github.com/NathanTheGr8/da68f3e7b7645100e5da844ab347d0e3

@NathanTheGr8
Copy link
Contributor Author

NathanTheGr8 commented Jan 1, 2019

So here is a better example. I rewrote the UI to use grids so that it dynamically resizes a lot better. In the final version, the xaml will be in a separate file and be imported into the main file via Get-Content.

image

https://gist.github.com/NathanTheGr8/8d2081a44bba9834b5da316f25d06cb1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants