[Вопрос] Defining the width of controls in a palette!


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

Вложения (1)

Type: application/pdf
Загружено 82 раз
Size: 34,72 KiB
1 - 6 (6)
  • 1

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.

wizysmart.difraxis.com –––––––––––––––––––––––––––––

Вложения (1)

img
2020-05-29_00h17_36.png
Type: image/png
Загружено 4 раз
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.

wizysmart.difraxis.com –––––––––––––––––––––––––––––

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.

wizysmart.difraxis.com –––––––––––––––––––––––––––––

1 - 6 (6)
  • 1

https://campus.allplan.com/ uses cookies  -  More information

Accept