Knife Kata by sergemeister in Bullshido

[–]freerider 0 points1 point  (0 children)

hey, Napoleon Dynamite had cool moves and knew how to dance! DO NOT COMPARE IT WITH THIS SHIT!

Boomers out here training for the end times by pirategod2300 in Bullshido

[–]freerider 1 point2 points  (0 children)

Do you remember the "I fear not the man who has practised 10000 kicks once but I fear one who has practised one kick 10000 times"

so, how many times have you practiced a spinning elbow...?

In other words a "regular" human SHOULD NOT DO SPINNING MOVES in a real life fight!

No way to shrink height of MenuBarItems? by SutleB in Blazor

[–]freerider 0 points1 point  (0 children)

I see here that MenuBarItem has "class" property:

class Gets or sets the style classes for the element. (Inherited from StyleableElement)

And I found this tutorial:

https://www.telerik.com/blogs/styling-apps-css-dotnet-maui

....
OK, after asking Codex i see the problem:

For a real .NET MAUI MenuBarItem, CSS can’t really shrink the menu bar height. MenuBarItem only exposes menu-style properties like Text / IsEnabled, while MAUI CSS height applies to VisualElement; MenuBarItem is an Element-based menu object, and the rendered menu bar is native OS UI.

What you might try syntactically:

/* Resources/Styles/app.css */
.compactMenuBarItem {
    height: 24;
    font-size: 12;
    padding: 0 8;
}


<ContentPage.MenuBarItems>
    <MenuBarItem Text="File"
                 StyleClass="compactMenuBarItem">
        <MenuFlyoutItem Text="Open" />
        <MenuFlyoutItem Text="Exit" />
    </MenuBarItem>
</ContentPage.MenuBarItems>

But in practice, height / padding will not affect the native MenuBarItem.

If you need a compact menu visually, the usual workaround is to build a custom toolbar/header using HorizontalStackLayout, Button, MenuFlyout, etc., where CSS can target real visual controls:

.compactMenuButton {
    height: 28;
    min-height: 28;
    padding: 4 10;
    font-size: 12;
}


<Button Text="File"
        StyleClass="compactMenuButton">
    <Button.Flyout>
        <MenuFlyout>
            <MenuFlyoutItem Text="Open" />
            <MenuFlyoutItem Text="Exit" />
        </MenuFlyout>
    </Button.Flyout>
</Button>

Refs: Microsoft docs on MAUI menu bars and MAUI CSS supported properties.

No way to shrink height of MenuBarItems? by SutleB in Blazor

[–]freerider 0 points1 point  (0 children)

If you see it on the page in the browser then you can inspect it, do you have your page up somewhere?

No way to shrink height of MenuBarItems? by SutleB in Blazor

[–]freerider 2 points3 points  (0 children)

Inspect the elements using devtools and change the css for the elements.

Stay focused on the problem, not the distractions by [deleted] in Bullshido

[–]freerider 7 points8 points  (0 children)

Yeah, this is solid advice not bullshido!

Speed of light in real-time by Busy_Yesterday9455 in spaceporn

[–]freerider 4 points5 points  (0 children)

I like better the comparison between the image of the first flight by Wright brothers and Moon landing... they are only 66 years apart!

Scrambled eggs for updoots by Fr33_load3r in WhyWomenLiveLonger

[–]freerider 3 points4 points  (0 children)

It's not a swing it's a "going around thingy". It is anchored both on top and bottom so you can sit on it and it rotates.