Debug a widget

0
Hello everyone, I am trying to debug a widget in order to understand which css classes it uses. This way I can change the style. Does anyone know how to do that. Many thanks in advance, George
asked
2 answers
1

The easiest way to do this would be to open up the widget and look at the defined classes in the widget CSS

  1. Go to your local workspace (e.g. C:\Users\Hanna\YourMendixproject-main
  2. Go to widgets
  3. Extract the widget with 7zip (or similar tool, the mpk file is just a different extension for a zipped folder) (note: extract to a location outside your mendix project, like your desktop or documents, to prevent 2 instances of the same widget in the mendix\widgets folder)
  4. Open the extracted folder, go to widget\ui
  5. Open the widgetname.css file

Those are the classes that are defined specifically for the widget

answered
8

Hi,

Take a look at the below forum link

https://forum.mendix.com/link/questions/4183

Hope it helps!!!

answered