Styling html in wisej controls

Welcome to Wisej Support.
Questions, suggestions and plain old bugs - are all welcome here!
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
Post as a guest by filling out the fields below or if you already have an account.
Name*
E-mail*
Attachment
File Name Size
There are currently no files uploaded.
Maximum number of files 5, maximum file size 3.9MB.
Supported file formats: zip pdf gif jpg bmp png cs vb theme json