Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 03:03
    github-actions[bot] synchronize #2429
  • 03:03

    github-actions[bot] on icons

    [Icon update detected by Github… (compare)

  • Sep 21 23:34
    marcosgerene opened #2430
  • Sep 21 11:31
    igowshik commented #2236
  • Sep 21 09:08

    github-actions[bot] on nightly_release

    Adding release GH Action Fixing NuGet version numbers (compare)

  • Sep 21 08:41
    igowshik commented #2236
  • Sep 21 06:00
    JianpingCAI commented #1474
  • Sep 21 03:03

    github-actions[bot] on icons

    [Icon update detected by Github… (compare)

  • Sep 21 03:03
    github-actions[bot] opened #2429
  • Sep 20 22:02

    Keboo on v4.2.1

    (compare)

  • Sep 20 22:00

    Keboo on v4.2.1

    (compare)

  • Sep 20 22:00

    Keboo on master

    Fixing NuGet version numbers (compare)

  • Sep 20 21:58

    Keboo on v4.2.1

    (compare)

  • Sep 20 21:26

    Keboo on master

    Adding release GH Action (compare)

  • Sep 19 09:08

    github-actions[bot] on nightly_release

    ContextMenu now follows placeme… [Icon update detected by Github… Update disabled state opacity (… and 2 more (compare)

  • Sep 19 06:52

    Keboo on master

    Combo box template (#2428) * N… (compare)

  • Sep 19 06:52
    Keboo closed #2428
  • Sep 19 06:52
    Keboo closed #2340
  • Sep 19 06:46
    Keboo milestoned #2428
  • Sep 19 06:46
    Keboo labeled #2428
alphabet1201
@alphabet1201
hello, "IsIndeterminate" option value of component named UniqueKey="progress_2" need to be change to false.
because if that option was true, that make a 'Material Design Demo' run slow in on 'Progress Indicator' Tab
iDanny
@iDanny07
image.png
How do I change the burger icon for the Style = MaterialDesignHamburgerToggleButton? For some reason it is a different size? The middle line is bigger than the top and bottom lol
iDanny
@iDanny07
<ToggleButton
     Margin="24,0,0,0"
     x:Name="LeftMenuToggleButton"
     AutomationProperties.Name="HamburgerToggleButton"
     IsChecked="False"
     Style="{StaticResource MaterialDesignHamburgerToggleButton}" />
image.png
In VS it looks normal lol
Kevin B
@Keboo
@alizeynalli_gitlab we would need to see your project to tell. It is difficult to know what the problem is just from that description.
Kevin B
@Keboo
@alphabet1201 Thanks for the heads up. you are correct that indeterminate progress bar can slow down an application due to their constant animation, however in this case that progress bar is meant to show off how an indeterminate progress bar looks. To address the performance of it, I did adjust the size of containing grid as that was also contributing to the slowness.
@iDanny07 possibly a layout rounding issue? I would try setting UseLayoutRounding ="True" on your window
iDanny
@iDanny07
image.png
@Keboo No that did not help.
Also how would I be able to change the size of the PopupBox icon? (3 vertical dots)
I tried width and height on it but it only changed the container not the icon
pablokentch
@pablokentch

I am having a problem with the github version of the material with caret, if I create a TextBox that saves the text of my application, when my application opens with the text in the TextBox the caret is shown at the beginning of the TextBox.

Example that happened to someone else who posted on github

https://user-images.githubusercontent.com/6760578/68993344-f0c69080-08b1-11ea-9aec-a7a5c550fd40.gif

Kevin B
@Keboo
@iDanny07 there is a property on the PopupBox called ToggleContent that can be set to any content that you like. The default is just a PackIcon with Kind="DotsVertical" and a size of 24x24. So if you want to change the size simply set your own PackIcon with your desired size. You can see an example of setting the ToggleContent here.
Kevin B
@Keboo
@pablokentch that appears to be the outstanding bug #1519. Currently there is not a fix for it.
bebenins
@bebenins
Good morning, I was wondering if there's a setting to fix the following issue with Snackbar? I'm limited to a very tight space and it looks like Snackbar is hardcoded to minimum width
image.png
ActionButtonPlacement="Auto" or "SeparateLine" doesn't fix the truncation. Thank you
Federico Rossi
@artipo
@Keboo I've looked into the #1519 and I think I've found the cause of the bug.
It all boils down to VerticalContentAlignment being set to Top inside TextBox styles.
There's also the ControlTemplate trigger that occur when TextFieldAssist.HasOutlinedTextFieldthat set VerticalContentAlignment to Top.
I would submit a PR to solve this but I fear that setting VerticalContentAlignment to Stretch would cause unwanted behaviour and/or style appearance.
Anyway I'll attach an image showing that with VerticalContentAlignment being set to Top, the underlying TextBoxView doesn't use the entire available vertical space. Since that control is responsible for the CaretIndex change, missing the HitTest cause the use of default CaretIndex position, which is 0.
Federico Rossi
@artipo
2021-01-29_19h47_18.png
2021-01-29_19h48_50.png
GnahZn1x
@GnahZn1x
Hello, I am trying to override "TextFieldCornerRadius" of "MaterialDesignOutlinedComboBox" and I am able to see the change in VS Designer of the user control. But in the designer of the mainwindow and runtime, it fell back to the default style. Really appreciated if you can provide some pointers.
    <UserControl.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.ComboBox.xaml" />
            </ResourceDictionary.MergedDictionaries>

            <Style x:Key="MaterialDesignOutlinedComboBox" TargetType="{x:Type ComboBox}"
                   BasedOn="{StaticResource MaterialDesignOutlinedComboBox}">
                <Setter Property="materialDesign:TextFieldAssist.TextFieldCornerRadius" Value="50"/>
            </Style>

        </ResourceDictionary>
    </UserControl.Resources>
    <Grid>
        <ComboBox Style="{StaticResource MaterialDesignOutlinedComboBox}">
            <ComboBoxItem>item 1</ComboBoxItem>
            <ComboBoxItem>item 2</ComboBoxItem>
            <ComboBoxItem>item 3</ComboBoxItem>
        </ComboBox>
    </Grid>
image.png
image.png
David Price
@dprice809
Is there a NumericUpDown control? I see some source that eludes to a NumericUpDown, but I don't see an example in the demos.
Federico Rossi
@artipo
@GnahZn1x I don't think naming your custom style with the base style name it's a good idea. The latter get overridden by yours and this could be the reason why th style seems incorrect at runtime
numericsguy
@numericsguy

hi guys, I am using a PopupBox in a CellTemplate for a DataGridTemplateColumn. The PopupBox shows up as expected, but when clicking the Save-Button defined as

<Button Content="_Save"  Command="{x:Static materialDesign:PopupBox.ClosePopupCommand}" />

a get an InvalidOperationException: System.Windows.Documents.Run is not a Visual or Visual 3D

When I use the same PopupBox-XAML-code outside of the DataGrid the button works as expected. Do I need to do something special to get it to work within a DataGrids CellTemplate or could this be a bug?

GnahZn1x
@GnahZn1x
@artipo thanks for the suggestion. I will take a try.
chizran
@chizran
Is there a way to change the FontSize of the SnackbarMessage?
Stehsaer
@Stehsaer
image.png
i'm having a problem here...
it works fine in light mode, but when i switch to dark mode in App.xaml
it goes like this
image.png
only the expander changes, other controls like scrollview, menu just do nothing
image.png
Stehsaer
@Stehsaer
image.png
after some minor fixes:
image.png
Stehsaer
@Stehsaer
Is there a way to change the FontSize of the Snackbar
try this:
 MySnackBar.MessageQueue.Enqueue(new TextBlock{ FontSize=***, *Other Properties*...});
chizran
@chizran
@Stehsaer thanks, working great.
Jesper Hansen
@jespersh
Say I have a (popup) window with a dialoghost that I reuse for all my popups. So all the windows actually have the same named dialoghost. So I'm having this Multiple viable DialogHosts. Specify a unique Identifier on each DialogHost, especially where multiple Windows are a concern. Anyone got an idea on how you could do this without going out to create a unique Window file for each?
Jesper Hansen
@jespersh
found a way to introduce two dependency properties that would allow for a randomization of the DialogHost's Identifier name
Mikael Silvén
@silven
Hi, how can I control the behaviour of pressing Enter in a text field in a Dialog(Host)? I don't want it to close the dialog
Yves Calaci
@YvesHenri
How do I change the snackbar's background color?
To use my PrimaryHueLightBrush's color
Yves Calaci
@YvesHenri
...and also how do I get to show huge texts within a small snackbar?
ShannonZ
@ShannonZ
how to hide the under-line of the TextBox?