[Otázka] Defining the width of controls in a palette!

Tagy:
  • Allplan
  • PythonParts

Hi there,

where it is possible to define in Allplan the width of controls in a palette. Sometimes controls are too small that you cannot display correct info in them. Please let us know, where it is possible do define this width as follows:
- XML language does not have this command?
- Can this be done somewhere else in Allplan?
- SmartParts have this option, in PythonParts it is nowhere to be found!
- Can this be done in Windows Registry?

Any suggestions are welcome!!!
Best Regards, Primoz

I explained the question here in detail:
https://www.dropbox.com/s/ruttb4cu9plxbr9/Ctrl-Width.mp4?dl=0

Přílohy (1)

Type: application/pdf
Staženo 1285
Size: 34,72 KiB

Hello,

Put the mouse at the limit of the controls, the cursor change to this double-arrow (see attached picture). Then, move left or right to change the width of the controls.


Přílohy (1)

Type: image/png
Staženo 8
Size: 5,33 KiB

Unbelievable, thank you a lot.
Primoz

Please click on "Is solution" on my answer message...
This could help some other users.


Hi Primoz,

you can also define a default value for the with by "DataColumnWidth"

<Script>
<Name>PaletteExamples\AllControls.py</Name>
<Title>AllControls</Title>
<Version>1.0</Version>
<TextId>1001</TextId>
<DataColumnWidth>150</DataColumnWidth>
</Script>

Best regards
Horst

Hi Horst,

Good news!
Is there a list somewhere with all the keywords? "DataColumnWidth" is not in the help page...
Is there also a tag for the width of a control, for example, 2 controls in a row spread over 1/3 and 2/3 of the width?
And can we have a row with a custom height?
Overall, can we define each control as we can do with SmartParts?
Thank you.