mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
use main btn height instead of frame height
This commit is contained in:
parent
f7fafcd89f
commit
c104c26c74
1 changed files with 1 additions and 1 deletions
|
|
@ -75,7 +75,7 @@ class ButtonWithOptions(QtWidgets.QFrame):
|
|||
|
||||
def resizeEvent(self, event):
|
||||
super(ButtonWithOptions, self).resizeEvent(event)
|
||||
self.options_btn.setFixedHeight(self.height())
|
||||
self.options_btn.setFixedHeight(self.main_btn.height())
|
||||
|
||||
def _on_options_click(self):
|
||||
point = self.mapToGlobal(self.rect().bottomLeft())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue