Skip to content

Commit

Permalink
MacOS 배포 빌드에서 description 배경화면이 제대로 적용되지 않는 현상 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
bnbong committed Feb 27, 2024
1 parent 69d2f75 commit 307087d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@
- 관련 기사 - [링크](https://m.health.chosun.com/svc/news_view.html?contid=2023031701752)
- 따라서 **자람 학회원을 포함한 릭트컬 데이라이프 데스크톱 앱을 사용하는 모든 사용자**에게 스트레스 해소, 창의력 및 기억력 증진 도모를 목표로 한다.

### 설치 방법

추가 예정

### 시연 영상

[![rickTcal - DayLife 시연 영상](https://img.youtube.com/vi/CYAb9O3bSvQ/0.jpg)](https://youtu.be/CYAb9O3bSvQ)
Expand Down
11 changes: 9 additions & 2 deletions sado_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,14 +146,21 @@ def initUI(self):
descriptionWidget.setLayout(sadoLayout)

# 레이아웃 스타일 적용
# version 1.0.1 TODO: description 배경 이미지가 제대로 적용이 안되는 현상 수정 (배포 버전에서)
sadoLayout.setContentsMargins(50, 50, 50, 50)

descriptionWidget.setStyleSheet(
"""
QWidget {
border-width: 40px;
border-image: url('./images/static/backgrounds/description.png');
border-image: url('"""
+ os.path.join(
self.application_path,
"images",
"static",
"backgrounds",
"description.png",
)
+ """');
}
"""
)
Expand Down

0 comments on commit 307087d

Please sign in to comment.