bl new design
This commit is contained in:
parent
1e2bfe9380
commit
cad9350ff9
@ -44,7 +44,6 @@ class BluetoothDeviceCard(QFrame):
|
||||
self.status_indicator.setFont(QFont("", 18))
|
||||
self.status_indicator.setAlignment(Qt.AlignCenter)
|
||||
self.status_indicator.setFixedSize(24, 24)
|
||||
self._update_status_indicator()
|
||||
|
||||
# Информация об устройстве
|
||||
info_col = QVBoxLayout()
|
||||
@ -77,6 +76,8 @@ class BluetoothDeviceCard(QFrame):
|
||||
root.addWidget(self.status_indicator)
|
||||
root.addLayout(info_col, 1)
|
||||
root.addWidget(self.remove_btn)
|
||||
|
||||
self._update_status_indicator()
|
||||
|
||||
def _update_status_indicator(self):
|
||||
"""Обновить цвет индикатора."""
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user