Skip to content

Commit

Permalink
fix: qt分割初始比例
Browse files Browse the repository at this point in the history
  • Loading branch information
yuhldr committed Dec 9, 2024
1 parent e085e12 commit e5083e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lfy/qt/translate.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ def __init__(self, app):
splitter.addWidget(bottom_widget)

main_layout.addWidget(splitter)
splitter.setSizes([1, 2])

middle_layout.setContentsMargins(1, 5, 1, 5)
bottom_layout.setContentsMargins(0, 0, 0, 0)
Expand All @@ -105,6 +104,7 @@ def __init__(self, app):
self.translate_next = True

self.set_data()
splitter.setSizes([100, 300])

def set_data(self):
"""_summary_
Expand Down

0 comments on commit e5083e9

Please sign in to comment.