BTN_FIXED_SIZE moved to lib.py

This commit is contained in:
iLLiCiTiT 2021-01-27 18:45:27 +01:00
parent 7896113e5a
commit fbeaf70a19
2 changed files with 5 additions and 5 deletions

View file

@ -26,11 +26,10 @@ from .widgets import (
NiceCheckbox
)
from .multiselection_combobox import MultiSelectionComboBox
from .lib import CHILD_OFFSET
BTN_FIXED_SIZE = 20
from .lib import (
CHILD_OFFSET,
BTN_FIXED_SIZE
)
class DictImmutableKeysWidget(BaseWidget):

View file

@ -19,6 +19,7 @@ NOT_SET = type("NOT_SET", (), {"__bool__": lambda obj: False})()
METADATA_KEY = type("METADATA_KEY", (), {})()
OVERRIDE_VERSION = 1
CHILD_OFFSET = 15
BTN_FIXED_SIZE = 20
key_pattern = re.compile(r"(\{.*?[^{0]*\})")