Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 15:14
    jespersh commented #1382
  • 15:07
    bebenins commented #1384
  • 15:00
    No1e commented #1382
  • 14:29
    jespersh commented #1382
  • 14:26
    No1e commented #1382
  • 14:23
    jespersh commented #1382
  • 11:18
    No1e opened #1384
  • 11:17
    No1e commented #1382
  • 07:02

    Keboo on icons

    (compare)

  • 03:14
    s084088 opened #1383
  • Aug 21 14:59
    mgnslndh commented #1378
  • Aug 21 14:13
    No1e opened #1382
  • Aug 21 13:57
    Keboo commented #1378
  • Aug 21 13:48
    Keboo milestoned #1378
  • Aug 21 13:44
    Keboo synchronize #1297
  • Aug 21 12:54
    Keboo milestoned #1377
  • Aug 21 12:53

    Keboo on icons

    (compare)

  • Aug 21 12:53

    Keboo on master

    Icons update from Azure pipelin… (compare)

  • Aug 21 12:53
    Keboo closed #1381
  • Aug 21 07:36
    jespersh commented #1378
Zangl
@Zangl
@Keboo I can grab a screen capture on Monday if you need to see the issue.
Kevin B
@Keboo
@Zangl yea if you can grab a screen capture and attach it to that issue that would be really helpful. Both the PopupBox (as mentioned in #1298) and the DialogHost both use the same popup control (which is why I suspect they are related). You can verify this by switching your DialogHost to using the MaterialDesignEmbeddedDialogHost style rather than the default style. This style removes the popup control and instead makes the popup part of DialogHost's visual tree. If the problem does not replicate after that change, then the problem is somewhere with the popup control that is used to show the dialog.
Also I will be traveling next week so there may be some delay before I get time to look into it.
Zangl
@Zangl
@Keboo OK, I'll do some tests on Monday and post the results, also take a screen grab, cheers
Jesper Hansen
@jespersh
@cacadic you might be able to just build the framework part if you let the others core build targets fail
(didn't test that as I have no machine without core 3.0 on :P)
l
@Liroshka_gitlab
Hi, I have a project with mehapps, and I would like to integrate this project with the material design library. I visited https://github.com/MaterialDesignInXAML/MaterialDesignInXamlToolkit/wiki/MahAppsMetro-integration
And the next lines are giving me an error- did that happen to you?
    <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.MahApps;component/Themes/MaterialDesignTheme.MahApps.Fonts.xaml" />
            <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.MahApps;component/Themes/MaterialDesignTheme.MahApps.Flyout.xaml" />
Zangl
@Zangl
@Keboo updated #1298 with a couple of screen captures
Magnus Lindhe
@mgnslndh
@Zangl I've watched both of your videos for #1298 and it looks to me as if both show behavior that is not expected?
Zangl
@Zangl
@mgnslndh Yes that's correct, the first one is simply the DialogHost.AnchorBottom project from the MaterialDesignInXaml.Examples solution. The second video I added the MaterialDesignEmbeddedDialogHost style to the dialoghost as requested by @Keboo just for testing and maybe shed a bit of light on the issue I think, cheers
Magnus Lindhe
@mgnslndh
👍
TKLeuPT
@TKLeuPT
Hello, I just started using MaterialDesign in WPF using Visual Studio 2019, but seems that there are alot of items missing, for example when I use one of the lists offered in the demo, it just doesn't show up and I just added a TextBox but the icon before the field doesn't show.
I believe I am missing some references, can anyone help me out?
Thanks in advance
Zangl
@Zangl
Does the MaterialDesignDemo run as expected but when you try things in your own app your not getting the same results?
TKLeuPT
@TKLeuPT
yes
@Zangl , I use some of the fields from the DemoApp but in my App I don't get the same results in lots of fields
Magnus Lindhe
@mgnslndh
Does anyone have experienced a dialog that opens up but gets the wrong size? I.e. only the content of the upper left corner is visible.
Magnus Lindhe
@mgnslndh
image.png
Like in the image above. The dialog show have several more fields but only show a fraction of the contents.
TKLeuPT
@TKLeuPT
Capturar.PNG
I copied the Lists.xaml to see the results and this was what i got
Zangl
@Zangl
looks like the styles aren't being picked up? Are you pulling these in with <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Defaults.xaml" />
TKLeuPT
@TKLeuPT
Yes I am @Zangl
Capturar.PNG
Zangl
@Zangl
@TKLeuPT Weird, should be fine, the lists.xaml does reference some domain objects, have you copied it verbatim? and maybe missed those?
spotUP
@spotUP
Hi all! How do I remove the hover color from menuitems and change the cursor to a pointing hand?
Also, I have problems using the hover shadow effect on buttons.... nothing happens when i hover my buttons.
This is how my button code looks;
<Button Name="CloseButton" Grid.Column="3" Style="{DynamicResource MaterialDesignRaisedLightButton}" Width="170" Background="Red" Click="CloseButton_Click" BorderThickness="0">
<StackPanel Orientation="Horizontal">
<TextBox FontSize="20" Style="{DynamicResource IconInverted}" Text=""/>
<Label Content="{Binding CloseButtonText,Mode=OneWay}"/>
</StackPanel>
</Button>
TKLeuPT
@TKLeuPT
Capturar.PNG
@Zangl I did import this ones
as far as I understood it only needs the SelectableViewModel
Zangl
@Zangl
@TKLeuPT have you tried setting a breakpoint in there just to make sure, are you getting any odd binding errors in the output?
TKLeuPT
@TKLeuPT
@Zangl In the SelectableViewModel?
Zangl
@Zangl
Yes just wondering if that is being called at all, maybe also just comment everything back to just the listbox and see if that styles correctly, they add the extra bits in and see what breaks?
TKLeuPT
@TKLeuPT
@Zangl It's not even triggering the breakpoint :/ maybe I'm missing something and maybe it's just data missing?
Kevin B
@Keboo
@Zangl thanks I will take a look at those recordings
Kevin B
@Keboo
@Liroshka_gitlab the 2.6.0 release is expected to work with MahApps 1.6.5. Which version of this library and MahApps are you using? What are the errors that you are seeing?
@TKLeuPT there are three things to check. 1. Make sure you have setup your App.xaml correctly. 2. Make sure you have properly set the theme colors on your window. 3. If you are using any of the optional control styles, make sure you have referenced them.
Kevin B
@Keboo
@TKLeuPT it also doesn't look like you are setting an accent color. Is there a reason that line is commented out?
@TKLeuPT as for the domain object, can you share you page XAML and where you are setting up the DataContext. I suspect that is probably what is causing the missing data.
Kevin B
@Keboo
@spotUP the hover color is difficult to remove since it is hard coded to be based on the Foreground color of the MenuItem. You can change the cursor for the MenuItems but simply setting Cursor="Hand" on them.
As for the shadow you should be able to use the ShadowAssist class to do it. You can see an example of that here.
Zangl
@Zangl
@Keboo thanks for all the support bud, much appreciated!
TKLeuPT
@TKLeuPT

@Keboo Thank You for your reply,

  1. The App.xaml is setup correctly, I've uncommented the accent line
  2. You mean in the MainWindow? Because I'm using UserControls
  3. I did reference the controls

Which page XAML do you need?

Also if it makes it easier for you would it be possible for you to share a .sln only with the theme properly setup so I can compare with mine?

Thank You!

Kevin B
@Keboo
@TKLeuPT Yes I mean the MainWindow. You really should only need to set that once and all of the child controls should inherit the colors. I do have several sample projects you can take a look at. This one is probably one of the simpler ones to look at.
tpdickson
@tpdickson
is there a DatePicker option to set the mode similar to MaterialDesignCalendarPortrait's DisplayMode="Year" ?
tpdickson
@tpdickson
image.png
I ended up using a calendar within a dialoghost. I'm having trouble removing the top section of the calendar though
HuggerCoursera
@HuggerCoursera
Could someone show how to apply to PopupBox toggle control specific style from MDIX (for example, MaterialDesignIconButton style)? I'd like to add nice shadow on mouse hovering over the toggle icon just like it's done for buttons.