mirror of
https://github.com/bec-project/bec_widgets.git
synced 2025-07-14 03:31:50 +02:00
fix(positioner_box): icons fixed
This commit is contained in:
3
bec_widgets/assets/toolbar_icons/device_line_edit.svg
Normal file
3
bec_widgets/assets/toolbar_icons/device_line_edit.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" height="48px" viewBox="0 -960 960 960" width="48px" fill="#FFFFFF">
|
||||
<path d="M180-404.87v-50.26h289.75v50.26H180Zm0-162.57v-50.25h454.62v50.25H180Zm0-162.3V-780h454.62v50.26H180ZM524.62-180v-105.69l217.15-216.16q7.46-7.07 16.11-10.3 8.65-3.23 17.3-3.23 9.43 0 18.25 3.53 8.82 3.54 16.03 10.62l37 37.38q6.87 7.47 10.21 16.16Q860-439 860-430.31t-3.37 17.69q-3.37 9-10.52 16.46L630.31-180H524.62Zm250.69-211.69 37-38.62-37-37.38-38 38 38 38Z"/>
|
||||
</svg>
|
After Width: | Height: | Size: 492 B |
Before Width: | Height: | Size: 266 B After Width: | Height: | Size: 266 B |
@ -77,7 +77,7 @@ class PositionerBox(BECWidget, QWidget):
|
||||
self.ui.tool_button.clicked.connect(self._open_dialog_selection)
|
||||
icon = QIcon()
|
||||
icon.addFile(
|
||||
os.path.join(MODULE_PATH, "assets", "designer_icons", "device_line_edit.png"),
|
||||
os.path.join(MODULE_PATH, "assets", "toolbar_icons", "device_line_edit.svg"),
|
||||
size=QSize(16, 16),
|
||||
)
|
||||
self.ui.tool_button.setIcon(icon)
|
||||
|
Reference in New Issue
Block a user