修复: - 设置页代理转发端口输入框过大:内边距从 5px 缩到 2px,并固定为 72×22 与右侧开关同高,和其他设置项同一水平
This commit is contained in:
+2
-2
@@ -1716,7 +1716,7 @@ class SettingsDialog(QDialog):
|
||||
background-color: {C_CARD};
|
||||
border: 1px solid {C_BORDER};
|
||||
border-radius: 6px;
|
||||
padding: 5px 8px;
|
||||
padding: 2px 8px;
|
||||
color: {C_TEXT};
|
||||
font-size: 12px;
|
||||
}}
|
||||
@@ -1784,7 +1784,7 @@ class SettingsDialog(QDialog):
|
||||
port_row.addWidget(port_lab)
|
||||
port_row.addStretch()
|
||||
self.ed_port = QLineEdit(str(_TLS_LOCAL_PORT))
|
||||
self.ed_port.setFixedWidth(80)
|
||||
self.ed_port.setFixedSize(72, 22) # 与右侧开关同高,和其他设置项同一水平
|
||||
self.ed_port.setEnabled(not port_locked)
|
||||
port_row.addWidget(self.ed_port)
|
||||
layout.addLayout(port_row)
|
||||
|
||||
Reference in New Issue
Block a user