mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-08 21:14:15 +02:00
[fix][ui] Toolbar buttons get hidden
This commit is contained in:
@@ -35,6 +35,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
|||||||
- displaying "No Internet connection" when an error happens during commits reading within the downgrade process
|
- displaying "No Internet connection" when an error happens during commits reading within the downgrade process
|
||||||
- UI:
|
- UI:
|
||||||
- **About** window icons scaling
|
- **About** window icons scaling
|
||||||
|
- Toolbar buttons get hidden [#5](https://github.com/vinifmor/bauh/issues/5)
|
||||||
|
|
||||||
### UI
|
### UI
|
||||||
- **Style selector** and **Aplication types** action moved to the new **Settings panel**
|
- **Style selector** and **Aplication types** action moved to the new **Settings panel**
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ from typing import List, Type, Set
|
|||||||
from PyQt5.QtCore import QEvent, Qt, QSize, pyqtSignal
|
from PyQt5.QtCore import QEvent, Qt, QSize, pyqtSignal
|
||||||
from PyQt5.QtGui import QIcon, QWindowStateChangeEvent
|
from PyQt5.QtGui import QIcon, QWindowStateChangeEvent
|
||||||
from PyQt5.QtWidgets import QWidget, QVBoxLayout, QCheckBox, QHeaderView, QToolBar, \
|
from PyQt5.QtWidgets import QWidget, QVBoxLayout, QCheckBox, QHeaderView, QToolBar, \
|
||||||
QLabel, QPlainTextEdit, QLineEdit, QProgressBar, QPushButton, QComboBox, QApplication, QListView
|
QLabel, QPlainTextEdit, QLineEdit, QProgressBar, QPushButton, QComboBox, QApplication, QListView, QSizePolicy
|
||||||
|
|
||||||
from bauh.api.abstract.cache import MemoryCache
|
from bauh.api.abstract.cache import MemoryCache
|
||||||
from bauh.api.abstract.context import ApplicationContext
|
from bauh.api.abstract.context import ApplicationContext
|
||||||
@@ -134,6 +134,7 @@ class ManageWindow(QWidget):
|
|||||||
|
|
||||||
self.toolbar = QToolBar()
|
self.toolbar = QToolBar()
|
||||||
self.toolbar.setStyleSheet('QToolBar {spacing: 4px; margin-top: 15px; margin-bottom: 5px}')
|
self.toolbar.setStyleSheet('QToolBar {spacing: 4px; margin-top: 15px; margin-bottom: 5px}')
|
||||||
|
self.toolbar.setSizePolicy(QSizePolicy.Minimum, QSizePolicy.Fixed)
|
||||||
|
|
||||||
self.checkbox_updates = QCheckBox()
|
self.checkbox_updates = QCheckBox()
|
||||||
self.checkbox_updates.setText(self.i18n['updates'].capitalize())
|
self.checkbox_updates.setText(self.i18n['updates'].capitalize())
|
||||||
|
|||||||
Reference in New Issue
Block a user