dev
This commit is contained in:
parent
aa96ca287e
commit
ff0f6e9d78
@ -16,7 +16,7 @@ class BlockStackApp(QWidget):
|
|||||||
self.check_usb_devices()
|
self.check_usb_devices()
|
||||||
|
|
||||||
self.add_bottom_block()
|
self.add_bottom_block()
|
||||||
|
|
||||||
self.update_count = 11
|
self.update_count = 11
|
||||||
|
|
||||||
def initUI(self, fullscreen):
|
def initUI(self, fullscreen):
|
||||||
@ -127,7 +127,8 @@ class BlockStackApp(QWidget):
|
|||||||
# Create a new block for the bottom section
|
# Create a new block for the bottom section
|
||||||
bottom_block_widget = QWidget()
|
bottom_block_widget = QWidget()
|
||||||
bottom_block_layout = QHBoxLayout()
|
bottom_block_layout = QHBoxLayout()
|
||||||
bottom_block_layout.setAlignment(Qt.AlignRight)
|
bottom_block_layout.setAlignment(Qt.AlignRight|Qt.AlignBottom)
|
||||||
|
bottom_block_layout.setSizePolicy(QSizePolicy.Expanding, QSizePolicy.Expanding)
|
||||||
|
|
||||||
# Add a close button
|
# Add a close button
|
||||||
btn_close = QPushButton("Close")
|
btn_close = QPushButton("Close")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user