티스토리 뷰
BrowserWindow의 setSize 메서드가 window에서 동작하지 않는 현상. (mac은 정상동작)
width와
height를
지정해줬음에도 불구하고 setSize가
먹히지 않는다.
기존 setSize(width, height)
를 setBounds를
사용하는것으로 바꿔서 해결했다.
BrowserWindow.setBounds({width : width, height : height})
https://github.com/electron/electron/issues/15560#issuecomment-451395078
setSize can't shrink non-resizable window (but can grow it) · Issue #15560 · electron/electron
Output of node_modules/.bin/electron --version: v3.0.7 Operating System (Platform and Version): Windows 7 Output of node_modules/.bin/electron --version on last known working Electron version (if a...
github.com
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- conTeXt
- for-else
- 백준
- leetcode
- go
- taggit
- sql lite
- 팰린드롬수
- django
- Python
- stdout
- 파이썬
- dfs
- 독후감
- 문자열 뒤집기
- gunicorn
- query
- go context
- Two Scoops of Django
- 방금그곡
- ManyToMany
- 의대 신경학 강의
- 프로그래머스
- 소프트웨어 장인
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
글 보관함