Styling html in wisej controls

0
0

If I have html within a wisej control, ist there any chance to style e.g. a button in the html like a “normal” wisej button

  • You must to post comments
0
0

Yes and no. You can reuse any of the Wisej classes easily (use F12 to see the class names) but changes of state and changes of class names are dynamic in Wisej and you’d have to write javascript code to change the class name from say “qx-button” to “qx-button-hovered”. Wisej (qooxdoo) generates css classes on the fly  from the theme definition as the application runs. If your app never uses a a certain control, the css classes for that control are never created in the browser.

See attached sample app and screenshot below. It shoes an html panel using an html file and a stylesheet file to style its content and it show a label control with HTML text set to look like a wisej button.

 

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.