MossbauerLab / UnivemMSAggr

A simple aggregation tool for fast data aggregtion from couple of UNIVEM MS files into one simple text or doc files
GNU General Public License v2.0
4 stars 0 forks source link

GUI Stilization #4

Open EvilLord666 opened 6 years ago

EvilLord666 commented 6 years ago

We should use styles for achieving a good looking UI. Perhaps we should take it from one of the themes

EvilLord666 commented 6 years ago

We should select theme in settings (we should add a button for changes) Styles and resources for themes should be described in app resources file

Edisson commented 6 years ago

ok, working on it

EvilLord666 commented 6 years ago

deal! 👍

Edisson commented 6 years ago

Mike, let's choose one of the methods are able in WPF for skin loading.


The first method: using Loose XAML

Here are Pros

Cons

The second method: Compiled

Pros

Cons

EvilLord666 commented 6 years ago

What about https://github.com/MahApps/MahApps.Metro This project have net4.0 project, we could possibly use it via nuget or via github dependent project

Edisson commented 6 years ago

Yeah, I looked at it, it isn't really bad! We can adopt it.

The point is there are two almost similar ways to switch between the themes of an app (I don't speak about themes from dll variant now): it is necessary to add xaml files in project, Do smth like merge resource dictionaries and apply this or that style from xaml but they have to be loaded in pre-compile stage! I started doing the same thing as in mentioned nuget package. Currently there are some issues with stylization of some controls but using this package might be helpful. Need to consider it in detail.