摘要: 情况1: 我有一个自定义的Dialog,里面有一个ScrollView和两个按钮,在某个窗口使用的时候显示弹窗会有灰色遮盖层,一开始ScrollView有,我通过scrollView.bringToFront(),解决了它。 情况2: 我解决情况一之后,又出现了按钮也会出现的情况,这一次我发现这个遮 阅读全文
posted @ 2025-04-15 17:50 飞天猪皮怪 阅读(33) 评论(0) 推荐(0)
摘要: 1.将项目里的删除Spire.Pdf,安装Spire.Officefor.NETStandard. 2.安装SkiaSharp和SkiaSharp.NativeAssets.Linux 这两个的目的是为了替换System.Drawing.Common.以及兼容Linux。 阅读全文
posted @ 2023-11-29 11:39 飞天猪皮怪 阅读(493) 评论(0) 推荐(0)
摘要: 错误 exec user process caused "exec fomat error" 在构建镜像的时候在本机运行没有问题,但是发到服务器上就不行,后来指定服务器对应的运行架构镜像才运行成功 docker buildx build -t imageName --platform=linux/a 阅读全文
posted @ 2023-07-04 19:59 飞天猪皮怪 阅读(130) 评论(0) 推荐(0)
摘要: appsettings.json "Kestrel": { "Endpoints": { "Http": { "Url": "http://*:5000" } } } 阅读全文
posted @ 2023-06-17 11:22 飞天猪皮怪 阅读(97) 评论(0) 推荐(0)
摘要: 效果 正文 设置方向控制 因为我演示的是Android所以我这里以Android为例子。 找到 Platforms/Android/MainActivity.cs 文件,添加枚举ScreenOrientation = ScreenOrientation.Sensor,这个选项是应用程序的方向由传感器 阅读全文
posted @ 2023-03-07 09:20 飞天猪皮怪 阅读(1113) 评论(0) 推荐(0)
摘要: 概述 这篇文章就是想要拓展下Shell中的Tab。 目前我还没有找到可以动态生成Tab的方法,所以我只能自己写一个,可能不够好,但或许是个思路。 代码:https://github.com/simphonydeveloper/MauiShellTabExample/ 正文 效果如图,PageA-Pa 阅读全文
posted @ 2023-03-03 16:02 飞天猪皮怪 阅读(473) 评论(0) 推荐(0)
摘要: Sharpnado.Tabs 它是一个主要实现MAUItab的插件(有一说一原生的tab究极难用) 地址 效果预览 阅读全文
posted @ 2023-03-01 18:52 飞天猪皮怪 阅读(299) 评论(0) 推荐(0)
摘要: 当使用TabbedPage,动态生成Tab的时候,通常默认是ItemSource绑定数据源中的第一个。 当我们使用Navigation.PushAsync跳转到TabbedPage页面,我们可以使用TabbedPage的SelectedItem指定你选中的页面(ItemSource数据中的数据) m 阅读全文
posted @ 2023-03-01 10:14 飞天猪皮怪 阅读(713) 评论(0) 推荐(0)
摘要: 注意是Shell中的Page <?xml version="1.0" encoding="utf-8" ?> <ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui" xmlns:x="http://schemas.micr 阅读全文
posted @ 2023-02-28 15:16 飞天猪皮怪 阅读(98) 评论(0) 推荐(0)
摘要: 错误一 禁用项目AOT https://stackoverflow.com/questions/74589209/net-maui-precompiling-failed-the-specified-response-can-not-be-read 错误二 检查执行发布命令的路径是否和你项目路劲一样 阅读全文
posted @ 2023-02-28 08:21 飞天猪皮怪 阅读(388) 评论(0) 推荐(0)