Comments (12)
可能是因为CF api给的Json本来就不按顺序排()
等待Natsurainko修复
from natsurainko.fluentlauncher.
from natsurainko.fluentlauncher.
不到啊,(@natsurainko)
估计是设计用途把()等Natsurainko回来看看
from natsurainko.fluentlauncher.
from natsurainko.fluentlauncher.
这里的
FlowDirection
是刻意改成 RightToLeft 的么似乎所有的ComboBox都是这样,是有什么设计意图么 感觉看上去很不舒服
可能是因为LTR的ComboBox内容太长会导致展开的Flyout显示位置不对。
如果设置Width="Auto",展开ComboBox时ActualWidth会变成最小值,并且LTR的Flyout会尝试对齐最左边。如果设置RTL会对齐最右边,这样就没问题了。向右对齐ComboBox导致Flyout位置的问题在WinUI里也有人提过microsoft/microsoft-ui-xaml#6554
给ComboBox设置一个固定宽度可以缓解这个问题,但这样会减少显示空间,效果如下:
from natsurainko.fluentlauncher.
这里有人给了WPF计算ComboBox里面最长一项的宽度的方法,是用Behavior实现的,可以参考
https://stackoverflow.com/questions/1034505/how-can-i-make-a-wpf-combo-box-have-the-width-of-its-widest-element-in-xaml
from natsurainko.fluentlauncher.
如果FlowDirection="LeftToRight"这样设置 Flyout会一直靠右
from natsurainko.fluentlauncher.
from natsurainko.fluentlauncher.
是的,只有ComboBox宽度大于最长一项的时候才能保证正常显示效果。
另外需要考虑特殊情况:当窗口大小不足以显示全部内容时,展开后Flyout的最右侧还是会超过ComboBox的最右侧。
from natsurainko.fluentlauncher.
这种看上去挺好的
加个TooltipService.Tooltip吧
from natsurainko.fluentlauncher.
另外就是guide界面的combobox也是一个样的,我刚开始迷惑了挺久的(
from natsurainko.fluentlauncher.
from natsurainko.fluentlauncher.
Related Issues (20)
- 外观切换 HOT 2
- [Bug] 主题色加载导致的错误 HOT 1
- [Bug] 无法添加minecraft文件夹 HOT 4
- [Feature] Skins for Fluent Launcher 流畅启动器皮肤 HOT 24
- [Bug] CommunityToolkit 7 导致的模糊渲染错误
- [Feature] ARM 平台支持 HOT 5
- [Bug] 24w04a启动失败,安装列表中无24w04a版本 HOT 11
- [Refactor] JumpListService 任务栏跳转服务重构
- [Refactor] 异步启动过程 以及 启动过程取消功能的实现 HOT 1
- [Bug] Window not opening full/at the middle of the screen 窗口不能完全打开/位于屏幕中间 HOT 7
- [Bug] 无法登录微软账户 HOT 7
- [Bug]启动旧版本创建的Minecraft文件夹闪退 HOT 10
- [Bug] 无法刷新LittleSkin账户 HOT 5
- [Question] 無法安裝 HOT 6
- Fluent Launcher 需要 .NET 7.0才能运行 HOT 1
- [Bug] 无法安装 MC HOT 2
- [Feature] Include .NET Runtime in the MSIX released HOT 1
- [Bug] Failed to Fetch Account HOT 1
- [Bug] Account not refreshing HOT 2
- [Bug] 无法安装 Fabric 加载器 HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from natsurainko.fluentlauncher.