Skip to main content
1-Visitor
June 26, 2020
Question

Set Column size from CSS

  • June 26, 2020
  • 1 reply
  • 1482 views

I'm trying to set the width of some columns from the css. Is this not possible or does it require different syntax than normal css? I've tried column-width: 30px and width: 30px but neither seems to have an effect.

1 reply

17-Peridot
June 30, 2020

Hello jbrenneke,

 

I have investigated on this.

In Vuforia Studio, in Grid Widget, in Column property panel, we can see the Fixed Column Size field.

sdidier_0-1593501766949.png

 

In Preview, when running, in Developer Tools, we can see that these CSS settings are used to manage the size linked to this field :

 

column_size_css.png

I would recommand to use these Properties in CSS style sheet.

 

  • Is it helping you ?

Best regards,

Samuel

 

P.S: Edited to include a missing screenshot

1-Visitor
June 30, 2020

Hi Samuel,

 

Yes, that does help, but did you forget to include a screenshot for the developer tools? It looks like something is missing.