我的UWP应用可以旋转180度(它是为水平触摸屏设计的。)
我发现我可以旋转应用中的几乎所有内容,例如控件/框架元素等,使用这样的代码...
Navigator Error
An unexpected error occurred on Navigator start-up
Report
Please report this issue in the anaconda issue tracker
Main Error
expected str, bytes or os.PathLike object, not NoneType
Traceback
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\lib\site-packages\anaconda_navigator\exceptions.py", line 75, in exception_handler
return_value = func(*args, **kwargs)
File "C:\ProgramData\Anaconda3\lib\site-packages\anaconda_navigator\app\start.py", line 150, in start_app
window = run_app(splash)
File "C:\ProgramData\Anaconda3\lib\site-packages\anaconda_navigator\app\start.py", line 65, in run_app
window = MainWindow(splash=splash, tab_project=False)
File "C:\ProgramData\Anaconda3\lib\site-packages\anaconda_navigator\widgets\main_window.py", line 163, in __init__
self.api = AnacondaAPI()
File "C:\ProgramData\Anaconda3\lib\site-packages\anaconda_navigator\api\anaconda_api.py", line 2185, in AnacondaAPI
ANACONDA_API = _AnacondaAPI()
File "C:\ProgramData\Anaconda3\lib\site-packages\anaconda_navigator\api\anaconda_api.py", line 89, in __init__
self._conda_api = CondaAPI()
File "C:\ProgramData\Anaconda3\lib\site-packages\anaconda_navigator\api\conda_api.py", line 1714, in CondaAPI
CONDA_API = _CondaAPI()
File "C:\ProgramData\Anaconda3\lib\site-packages\anaconda_navigator\api\conda_api.py", line 353, in __init__
self.sys_rc_path = join(self.ROOT_PREFIX, '.condarc')
File "C:\ProgramData\Anaconda3\lib\ntpath.py", line 76, in join
path = os.fspath(path)
TypeError: expected str, bytes or os.PathLike object, not NoneType
我发现这也会旋转工具提示和ContentDialogs(尽管对话框在显示为旋转之前会暂时旋转一秒钟)。
但是我现在遇到了路障...
UWP文件选择器对话框没有任何RenderTransform属性。所以我不能旋转文件选择器。
对此有什么解决办法吗?
我认为尝试滚动自己的选择器没有任何意义,因为我只能使用UWP选择器来访问各种文件和文件夹。