[Otázka] [PythonParts] ComboBox in full width Row [Vyřešeno]


Hi,

In order to set up a management of profile favorites for my PythonPart, I placed a StringComboBox as well as buttons to load and save my parameters.

So how do I make my StringComboBox in my palette take the width available on the left ?

Best
Christophe

Přílohy (1)

Type: image/png
Staženo 67
Size: 28,13 KiB

Show solution Hide solution

Merci pour ton retour Bertrand,

J'ai trouvé une solution en regardant dans les exemples :

----

I found a solution by looking in the examples :

<Parameter>
<Name>FavoritesRow</Name>
<Value>1</Value>
<ValueType>Row</ValueType>
...

Best

Přílohy (1)

Type: image/jpeg
Staženo 59
Size: 65,65 KiB

Bonjour Christophe,

Je crois que ce n'est pas possible. L'interface des PythonParts est très limitée.
___________

I don't think this is possible. The PythonParts interface is very limited.


Merci pour ton retour Bertrand,

J'ai trouvé une solution en regardant dans les exemples :

----

I found a solution by looking in the examples :

<Parameter>
<Name>FavoritesRow</Name>
<Value>1</Value>
<ValueType>Row</ValueType>
...

Best

Přílohy (1)

Type: image/jpeg
Staženo 59
Size: 65,65 KiB

Oui, mais dans ce cas, les procédures placent les 2 éléments sur la ligne en leur donnant la même largeur.
Il n'est pas possible d'avoir un contrôle plus large que l'autre sur une même ligne...
___________

Yes, but in this case, the procedures place the 2 elements on the line giving them the same width.
It is not possible to have one control wider than the other on the same line...


peut-être pour la 2023-1

-----

maybe with 2023-1

Je ne pense pas...
___________

I don't think so...


A tester :

<WidthInRow>

Define the width of the control, only for controls that are in a row


https://campus.allplan.com/ používá cookies  -  Více informací

Souhlasím