[Frage] [PythonParts] ComboBox in full width Row [Gelöst]


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

Anhänge (1)

Typ: image/png
67-mal heruntergeladen
Größe: 28,13 KiB

Lösung anzeigen Lösung verbergen

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

Anhänge (1)

Typ: image/jpeg
59-mal heruntergeladen
Größe: 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

Anhänge (1)

Typ: image/jpeg
59-mal heruntergeladen
Größe: 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


Verwendung von Cookies:
Um die Webseite optimal gestalten und fortlaufend verbessern zu können, verwendet Allplan Cookies.
Durch die weitere Nutzung der Webseite erklären Sie sich mit der Verwendung von Cookies einverstanden.  -  Mehr Informationen

Schließen