Adjust ADEAUTOSIZE since after description feature was added, it works differently and most adjustments are no longer necessary (and their presence makes the nodes too wide)

This commit is contained in:
Jedrzej Kosinski
2024-09-01 09:31:53 -05:00
parent 00b63e65f0
commit 0837d2b197
8 changed files with 49 additions and 49 deletions
+5 -5
View File
@@ -35,7 +35,7 @@ class ManualAdjustPENode:
},
"optional": {
"prev_pe_adjust": ("PE_ADJUST",),
"autosize": ("ADEAUTOSIZE", {"padding": 30}),
"autosize": ("ADEAUTOSIZE", {"padding": 0}),
}
}
@@ -67,7 +67,7 @@ class SweetspotStretchPENode:
},
"optional": {
"prev_pe_adjust": ("PE_ADJUST",),
"autosize": ("ADEAUTOSIZE", {"padding": 20}),
"autosize": ("ADEAUTOSIZE", {"padding": 0}),
}
}
@@ -95,7 +95,7 @@ class FullStretchPENode:
},
"optional": {
"prev_pe_adjust": ("PE_ADJUST",),
"autosize": ("ADEAUTOSIZE", {"padding": 30}),
"autosize": ("ADEAUTOSIZE", {"padding": 0}),
}
}
@@ -258,7 +258,7 @@ class WeightAdjustIndivAttnAddNode:
},
"optional": {
"prev_weight_adjust": ("WEIGHT_ADJUST",),
"autosize": ("ADEAUTOSIZE", {"padding": 20}),
"autosize": ("ADEAUTOSIZE", {"padding": 0}),
}
}
@@ -305,7 +305,7 @@ class WeightAdjustIndivAttnMultNode:
},
"optional": {
"prev_weight_adjust": ("WEIGHT_ADJUST",),
"autosize": ("ADEAUTOSIZE", {"padding": 20}),
"autosize": ("ADEAUTOSIZE", {"padding": 0}),
}
}
+2 -2
View File
@@ -273,7 +273,7 @@ class CameraCtrlADKeyframeNode:
"cameractrl_multival": ("MULTIVAL",),
"inherit_missing": ("BOOLEAN", {"default": True}, ),
"guarantee_steps": ("INT", {"default": 1, "min": 0, "max": BIGMAX}),
"autosize": ("ADEAUTOSIZE", {"padding": 30}),
"autosize": ("ADEAUTOSIZE", {"padding": 0}),
}
}
@@ -373,7 +373,7 @@ class CameraCtrlPoseBasic:
},
"optional": {
"prev_poses": ("CAMERACTRL_POSES",),
"autosize": ("ADEAUTOSIZE", {"padding": 30}),
"autosize": ("ADEAUTOSIZE", {"padding": 0}),
}
}
+11 -11
View File
@@ -97,7 +97,7 @@ class PairedConditioningSetMaskAndCombineHooked:
"opt_mask": ("MASK", ),
"opt_lora_hook": ("LORA_HOOK",),
"opt_timesteps": ("TIMESTEPS_COND",),
"autosize": ("ADEAUTOSIZE", {"padding": 70}),
"autosize": ("ADEAUTOSIZE", {"padding": 0}),
}
}
@@ -129,7 +129,7 @@ class ConditioningSetMaskAndCombineHooked:
"opt_mask": ("MASK", ),
"opt_lora_hook": ("LORA_HOOK",),
"opt_timesteps": ("TIMESTEPS_COND",),
"autosize": ("ADEAUTOSIZE", {"padding": 55}),
"autosize": ("ADEAUTOSIZE", {"padding": 0}),
}
}
@@ -158,7 +158,7 @@ class PairedConditioningSetUnmaskedAndCombineHooked:
},
"optional": {
"opt_lora_hook": ("LORA_HOOK",),
"autosize": ("ADEAUTOSIZE", {"padding": 10}),
"autosize": ("ADEAUTOSIZE", {"padding": 0}),
}
}
@@ -256,7 +256,7 @@ class ConditioningTimestepsNode:
"end_percent": ("FLOAT", {"default": 1.0, "min": 0.0, "max": 1.0, "step": 0.001})
},
"optional": {
"autosize": ("ADEAUTOSIZE", {"padding": 25}),
"autosize": ("ADEAUTOSIZE", {"padding": 0}),
}
}
@@ -277,7 +277,7 @@ class SetLoraHookKeyframes:
"hook_kf": ("LORA_HOOK_KEYFRAMES",),
},
"optional": {
"autosize": ("ADEAUTOSIZE", {"padding": 40}),
"autosize": ("ADEAUTOSIZE", {"padding": 0}),
}
}
@@ -302,7 +302,7 @@ class CreateLoraHookKeyframe:
},
"optional": {
"prev_hook_kf": ("LORA_HOOK_KEYFRAMES",),
"autosize": ("ADEAUTOSIZE", {"padding": 5}),
"autosize": ("ADEAUTOSIZE", {"padding": 0}),
}
}
@@ -337,7 +337,7 @@ class CreateLoraHookKeyframeInterpolation:
},
"optional": {
"prev_hook_kf": ("LORA_HOOK_KEYFRAMES",),
"autosize": ("ADEAUTOSIZE", {"padding": 70}),
"autosize": ("ADEAUTOSIZE", {"padding": 0}),
}
}
@@ -560,7 +560,7 @@ class SetModelLoraHook:
"lora_hook": ("LORA_HOOK",),
},
"optional": {
"autosize": ("ADEAUTOSIZE", {"padding": 5}),
"autosize": ("ADEAUTOSIZE", {"padding": 0}),
}
}
@@ -610,7 +610,7 @@ class CombineLoraHooks:
"optional": {
"lora_hook_A": ("LORA_HOOK",),
"lora_hook_B": ("LORA_HOOK",),
"autosize": ("ADEAUTOSIZE", {"padding": 30}),
"autosize": ("ADEAUTOSIZE", {"padding": 0}),
}
}
@@ -634,7 +634,7 @@ class CombineLoraHookFourOptional:
"lora_hook_B": ("LORA_HOOK",),
"lora_hook_C": ("LORA_HOOK",),
"lora_hook_D": ("LORA_HOOK",),
"autosize": ("ADEAUTOSIZE", {"padding": 30}),
"autosize": ("ADEAUTOSIZE", {"padding": 0}),
}
}
@@ -664,7 +664,7 @@ class CombineLoraHookEightOptional:
"lora_hook_F": ("LORA_HOOK",),
"lora_hook_G": ("LORA_HOOK",),
"lora_hook_H": ("LORA_HOOK",),
"autosize": ("ADEAUTOSIZE", {"padding": 30}),
"autosize": ("ADEAUTOSIZE", {"padding": 0}),
}
}
+8 -8
View File
@@ -120,7 +120,7 @@ class NaiveReuse_KeyframeInterpolationNode:
"optional": {
"prev_kf": ("NAIVEREUSE_KEYFRAME",),
"mult_multival": ("MULTIVAL",),
"autosize": ("ADEAUTOSIZE", {"padding": 50}),
"autosize": ("ADEAUTOSIZE", {"padding": 0}),
}
}
@@ -305,7 +305,7 @@ class ContextRef_KeyframeInterpolationNode:
"mult_multival": ("MULTIVAL",),
"mode_replace": ("CONTEXTREF_MODE",),
"tune_replace": ("CONTEXTREF_TUNE",),
"autosize": ("ADEAUTOSIZE", {"padding": 50}),
"autosize": ("ADEAUTOSIZE", {"padding": 0}),
}
}
@@ -354,7 +354,7 @@ class ContextRef_KeyframeFromListNode:
"mult_multival": ("MULTIVAL",),
"mode_replace": ("CONTEXTREF_MODE",),
"tune_replace": ("CONTEXTREF_TUNE",),
"autosize": ("ADEAUTOSIZE", {"padding": 50}),
"autosize": ("ADEAUTOSIZE", {"padding": 0}),
}
}
@@ -398,7 +398,7 @@ class ContextRef_ModeFirst:
"required": {
},
"optional": {
"autosize": ("ADEAUTOSIZE", {"padding": 25}),
"autosize": ("ADEAUTOSIZE", {"padding": 0}),
},
}
@@ -419,7 +419,7 @@ class ContextRef_ModeSliding:
},
"optional": {
"sliding_width": ("INT", {"default": 2, "min": 2, "max": BIGMAX, "step": 1}),
"autosize": ("ADEAUTOSIZE", {"padding": 42}),
"autosize": ("ADEAUTOSIZE", {"padding": 0}),
}
}
@@ -441,7 +441,7 @@ class ContextRef_ModeIndexes:
"optional": {
"switch_on_idxs": ("STRING", {"default": ""}),
"always_include_0": ("BOOLEAN", {"default": True},),
"autosize": ("ADEAUTOSIZE", {"padding": 50}),
"autosize": ("ADEAUTOSIZE", {"padding": 0}),
},
}
@@ -470,7 +470,7 @@ class ContextRef_TuneAttnAdain:
"adain_style_fidelity": ("FLOAT", {"default": 1.0, "min": 0.0, "max": 1.0, "step": 0.01}),
"adain_ref_weight": ("FLOAT", {"default": 1.0, "min": 0.0, "max": 1.0, "step": 0.01}),
"adain_strength": ("FLOAT", {"default": 1.0, "min": 0.0, "max": 1.0, "step": 0.01}),
"autosize": ("ADEAUTOSIZE", {"padding": 65}),
"autosize": ("ADEAUTOSIZE", {"padding": 0}),
}
}
@@ -496,7 +496,7 @@ class ContextRef_TuneAttn:
"attn_style_fidelity": ("FLOAT", {"default": 1.0, "min": 0.0, "max": 1.0, "step": 0.01}),
"attn_ref_weight": ("FLOAT", {"default": 1.0, "min": 0.0, "max": 1.0, "step": 0.01}),
"attn_strength": ("FLOAT", {"default": 1.0, "min": 0.0, "max": 1.0, "step": 0.01}),
"autosize": ("ADEAUTOSIZE", {"padding": 15}),
"autosize": ("ADEAUTOSIZE", {"padding": 0}),
}
}
+5 -5
View File
@@ -22,7 +22,7 @@ class MultivalDynamicNode:
},
"optional": {
"mask_optional": ("MASK",),
"autosize": ("ADEAUTOSIZE", {"padding": 10}),
"autosize": ("ADEAUTOSIZE", {"padding": 0}),
}
}
@@ -45,7 +45,7 @@ class MultivalScaledMaskNode:
},
"optional": {
"scaling": (ScaleType.LIST,),
"autosize": ("ADEAUTOSIZE", {"padding": 10}),
"autosize": ("ADEAUTOSIZE", {"padding": 0}),
}
}
@@ -91,7 +91,7 @@ class MultivalDynamicFloatInputNode:
},
"optional": {
"mask_optional": ("MASK",),
"autosize": ("ADEAUTOSIZE", {"padding": 10}),
"autosize": ("ADEAUTOSIZE", {"padding": 0}),
}
}
@@ -132,7 +132,7 @@ class MultivalFloatNode:
"float_val": ("FLOAT", {"default": 1.0, "min": 0.0, "max": 10.0, "step": 0.001},),
},
"optional": {
"autosize": ("ADEAUTOSIZE", {"padding": 10}),
"autosize": ("ADEAUTOSIZE", {"padding": 0}),
}
}
@@ -152,7 +152,7 @@ class MultivalConvertToMaskNode:
"multival": ("MULTIVAL",),
},
"optional": {
"autosize": ("ADEAUTOSIZE", {"padding": 10}),
"autosize": ("ADEAUTOSIZE", {"padding": 0}),
}
}
+2 -2
View File
@@ -201,7 +201,7 @@ class PIA_ADKeyframeNode:
"pia_input": ("PIA_INPUT",),
"inherit_missing": ("BOOLEAN", {"default": True}, ),
"guarantee_steps": ("INT", {"default": 1, "min": 0, "max": BIGMAX}),
"autosize": ("ADEAUTOSIZE", {"padding": 5}),
"autosize": ("ADEAUTOSIZE", {"padding": 0}),
}
}
@@ -253,7 +253,7 @@ class InputPIA_PaperPresetsNode:
"optional": {
"mult_multival": ("MULTIVAL",),
"print_values": ("BOOLEAN", {"default": False},),
"autosize": ("ADEAUTOSIZE", {"padding": 60}),
"autosize": ("ADEAUTOSIZE", {"padding": 0}),
#"effect_multival": ("MULTIVAL",),
}
}
+12 -12
View File
@@ -33,7 +33,7 @@ class SampleSettingsNode:
"custom_cfg": ("CUSTOM_CFG",),
"sigma_schedule": ("SIGMA_SCHEDULE",),
"image_inject": ("IMAGE_INJECT",),
"autosize": ("ADEAUTOSIZE", {"padding": 10}),
"autosize": ("ADEAUTOSIZE", {"padding": 0}),
}
}
@@ -65,7 +65,7 @@ class NoiseLayerReplaceNode:
"prev_noise_layers": ("NOISE_LAYERS",),
"mask_optional": ("MASK",),
"seed_override": ("INT", {"default": 0, "min": 0, "max": 0xffffffffffffffff, "forceInput": True}),
"autosize": ("ADEAUTOSIZE", {"padding": 20}),
"autosize": ("ADEAUTOSIZE", {"padding": 0}),
}
}
@@ -101,7 +101,7 @@ class NoiseLayerAddNode:
"prev_noise_layers": ("NOISE_LAYERS",),
"mask_optional": ("MASK",),
"seed_override": ("INT", {"default": 0, "min": 0, "max": 0xffffffffffffffff, "forceInput": True}),
"autosize": ("ADEAUTOSIZE", {"padding": 20}),
"autosize": ("ADEAUTOSIZE", {"padding": 0}),
}
}
@@ -140,7 +140,7 @@ class NoiseLayerAddWeightedNode:
"prev_noise_layers": ("NOISE_LAYERS",),
"mask_optional": ("MASK",),
"seed_override": ("INT", {"default": 0, "min": 0, "max": 0xffffffffffffffff, "forceInput": True}),
"autosize": ("ADEAUTOSIZE", {"padding": 10}),
"autosize": ("ADEAUTOSIZE", {"padding": 0}),
}
}
@@ -202,7 +202,7 @@ class FreeInitOptionsNode:
"optional": {
"iter_batch_offset": ("INT", {"default": 0, "min": 0, "max": BIGMAX}),
"iter_seed_offset": ("INT", {"default": 1, "min": BIGMIN, "max": BIGMAX}),
"autosize": ("ADEAUTOSIZE", {"padding": 55}),
"autosize": ("ADEAUTOSIZE", {"padding": 0}),
}
}
@@ -229,7 +229,7 @@ class CustomCFGNode:
},
"optional": {
"cfg_extras": ("CFG_EXTRAS",),
"autosize": ("ADEAUTOSIZE", {"padding": 20}),
"autosize": ("ADEAUTOSIZE", {"padding": 0}),
}
}
@@ -253,7 +253,7 @@ class CustomCFGSimpleNode:
},
"optional": {
"cfg_extras": ("CFG_EXTRAS",),
"autosize": ("ADEAUTOSIZE", {"padding": 10}),
"autosize": ("ADEAUTOSIZE", {"padding": 0}),
}
}
@@ -277,7 +277,7 @@ class CustomCFGKeyframeNode:
"optional": {
"prev_custom_cfg": ("CUSTOM_CFG",),
"cfg_extras": ("CFG_EXTRAS",),
"autosize": ("ADEAUTOSIZE", {"padding": 80}),
"autosize": ("ADEAUTOSIZE", {"padding": 0}),
}
}
@@ -337,7 +337,7 @@ class CustomCFGKeyframeInterpolationNode:
"optional": {
"prev_custom_cfg": ("CUSTOM_CFG",),
"cfg_extras": ("CFG_EXTRAS",),
"autosize": ("ADEAUTOSIZE", {"padding": 70}),
"autosize": ("ADEAUTOSIZE", {"padding": 0}),
}
}
@@ -424,7 +424,7 @@ class CFGExtrasPAGNode:
},
"optional": {
"prev_extras": ("CFG_EXTRAS",),
"autosize": ("ADEAUTOSIZE", {"padding": 45}),
"autosize": ("ADEAUTOSIZE", {"padding": 0}),
}
}
@@ -509,7 +509,7 @@ class CFGExtrasRescaleCFGSimpleNode:
},
"optional": {
"prev_extras": ("CFG_EXTRAS",),
"autosize": ("ADEAUTOSIZE", {"padding": 45}),
"autosize": ("ADEAUTOSIZE", {"padding": 10}),
}
}
@@ -569,7 +569,7 @@ class NoisedImageInjectOptionsNode:
"optional": {
"composite_x": ("INT", {"default": 0, "min": 0, "max": MAX_RESOLUTION, "step": 1}),
"composite_y": ("INT", {"default": 0, "min": 0, "max": MAX_RESOLUTION, "step": 1}),
"autosize": ("ADEAUTOSIZE", {"padding": 30}),
"autosize": ("ADEAUTOSIZE", {"padding": 0}),
}
}
+4 -4
View File
@@ -76,7 +76,7 @@ class WeightedAverageSigmaScheduleNode:
"weight_A": ("FLOAT", {"default": 0.5, "min": 0.0, "max": 1.0, "step": 0.001}),
},
"optional": {
"autosize": ("ADEAUTOSIZE", {"padding": 80}),
"autosize": ("ADEAUTOSIZE", {"padding": 0}),
}
}
@@ -104,7 +104,7 @@ class InterpolatedWeightedAverageSigmaScheduleNode:
"interpolation": (InterpolationMethod._LIST,),
},
"optional": {
"autosize": ("ADEAUTOSIZE", {"padding": 70}),
"autosize": ("ADEAUTOSIZE", {"padding": 0}),
}
}
@@ -135,7 +135,7 @@ class SplitAndCombineSigmaScheduleNode:
"idx_split_percent": ("FLOAT", {"default": 0.5, "min": 0.0, "max": 1.0, "step": 0.001})
},
"optional": {
"autosize": ("ADEAUTOSIZE", {"padding": 40}),
"autosize": ("ADEAUTOSIZE", {"padding": 0}),
}
}
@@ -164,7 +164,7 @@ class SigmaScheduleToSigmasNode:
"denoise": ("FLOAT", {"default": 1.0, "min": 0.0, "max": 1.0, "step": 0.01}),
},
"optional": {
"autosize": ("ADEAUTOSIZE", {"padding": 50}),
"autosize": ("ADEAUTOSIZE", {"padding": 0}),
}
}