Skip to content

Reset the dialog interface size when the dialog box exceeds the window #10000

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
3 tasks done
QQQOrange opened this issue Dec 28, 2023 · 11 comments
Closed
3 tasks done

Reset the dialog interface size when the dialog box exceeds the window #10000

QQQOrange opened this issue Dec 28, 2023 · 11 comments
Assignees
Milestone

Comments

@QQQOrange
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Can the issue be reproduced with the default theme (daylight/midnight)?

  • I was able to reproduce the issue with the default theme

Could the issue be due to extensions?

  • I've ruled out the possibility that the extension is causing the problem.

Describe the problem

简单说,就是闪卡复习页面的布局,在外接显示器上显示是居中(默认形式),拔掉连接线后,笔记本电脑不能显示同样的布局。

Expected result

能有一个相同比例的布局

Screenshot or screen recording presentation

No response

Version environment

- Version: 2.11.4
- Operating System: win11
- Browser (if used):edge

Log file

More information

No response

@88250
Copy link
Member

88250 commented Dec 30, 2023

方便截图对比看下吗,谢谢。

@QQQOrange
Copy link
Author

方便截图对比看下吗,谢谢。

image
image
di第一张是显示器 第二张是笔记本

@Vanessa219
Copy link
Member

有没有移动过位置或修改过大小?

@QQQOrange
Copy link
Author

有没有移动过位置或修改过大小?

没有的,都是默认的位置。

@HibernalGlow
Copy link

#10048 我也有同样问题

@Vanessa219
Copy link
Member

有没有移动过位置或修改过大小?

没有的,都是默认的位置。

在设置中点击 恢复默认窗口 重置后再试试。

@Vanessa219
Copy link
Member

#10048 我也有同样问题

你的问题是由于拖拽导致,和楼主的不太一样。目前只能计算大小后,发现显示不下后,将其重置为默认大小。

@HibernalGlow
Copy link

确实不一样

@Vanessa219
Copy link
Member

没有太好的计算方法,先按照显示不下后,将其重置为默认大小进行修改是否可行?

@QQQOrange
Copy link
Author

没有太好的计算方法,先按照显示不下后,将其重置为默认大小进行修改是否可行?

试一下咯 不会影响到其他页面的布局吧

@Vanessa219
Copy link
Member

不会。

@Vanessa219 Vanessa219 self-assigned this Jan 5, 2024
Vanessa219 added a commit that referenced this issue Jan 5, 2024
@Vanessa219 Vanessa219 added this to the 2.12.1 milestone Jan 5, 2024
@Vanessa219 Vanessa219 changed the title 闪卡复习页面,笔记本电脑显示布局不能与外接显示器一致 Reset the dialog interface size when the dialog box exceeds the window Jan 5, 2024
EightDoor added a commit to EightDoor/siyuan that referenced this issue Jan 7, 2024
* commit '796df799315490e3a9d6e045f1c6bc98fb661e45': (455 commits)
  🐛 Fix `name` attribute could not be visited in the plugin constructor (siyuan-note#10071)
  🎨 Support ignore index siyuan-note#9198
  ♻️ Rename func
  🎨 siyuan-note#10090
  🎨 Reduce the delay in adding rows in database table view siyuan-note#10082
  🎨 Reduce the delay in adding rows in database table view siyuan-note#10082
  🎨 siyuan-note#10065
  🎨 Cards expired no longer appear in the same review round siyuan-note#10087
  🎨 https://ld246.com/article/1704285860053/comment/1704528635155#comments
  🐛 fix siyuan-note#10088
  🎨 https://ld246.com/article/1704285860053
  🎨 fix siyuan-note#10086
  🎨 fix siyuan-note#10085
  🎨 fix siyuan-note#10048
  🎨 Add internal kernel API `/api/filetree/upsertIndexes` and `/api/filetree/removeIndexes` siyuan-note#10079
  🎨 fix siyuan-note#10083
  ⬆️ Upgrade kernel deps
  ⬆️ Upgrade kernel deps
  🎨 fix siyuan-note#10000
  🎨 siyuan-note#10065
  ...

# Conflicts:
#	app/src/util/needSubscribe.ts
#	kernel/model/conf.go
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants