All Answers

0 votes

Hi Ivan,

After talking to my colleagues, you have one more option for embedding it within the theme 🙂

You can insert any custom CSS into the theme by editing the rules under the “Stylesheet” option in the theme builder (see attached screenshots).

 

You can also add the rules through a mixin:

{
 "stylesheet": {
 "rules": [
 ".qx-messagebox-modal-active-information [name='ok'],",
 ".qx-messagebox-modal-active-errorg [name='ok'],",
 ".qx-messagebox-modal-active-hand [name='ok'],",
 ".qx-messagebox-modal-active-stop [name='ok'],",
 ".qx-messagebox-modal-active-warning [name='ok'],",
 ".qx-messagebox-modal-active-question [name='ok']",
 "{",
 " background-color: red;",
 "}"
 ]
 }
}

If you have any questions about this, please let me know!

Levie

0 votes

Last question (yeah, right).

We offer 3 themes to the users: Normal, Light and Dark. The buttons follow these themes. For such, I have created new Colors in the Wisej Theme Builder to be able to set them to the Buttons for each theme created. Now, using your old-fashioned CSS style sheet, instead of setting the button’s background-color to pre-existing system colors, would I be able to use the color name added to the .theme file, like when we set the ApperanceKey of a control? Otherwise, I can’t see how I could set different colors to the buttons depending on the Theme chosen.

0 votes

Oh, you add the to the Default.html .
I think I can play with this now and get the results we need.

Thank you!

0 votes

Hi Ivan,

Please see the attached sample.

HTH,

Levie

0 votes

Hey Levie.

That sounds great. I wouldn’t mind doing it for each MessageBox style… but… I have no idea on how to do it. 😀
Would you mind throwing a small sample for one MessageBox style only so I could replicate it from my side?

Thanks a lot.

Ivan

0 votes

Hi Ivan,

As another workaround, you can add an old-fashioned CSS stylesheet to your project with something like the following:

.qx-messagebox-modal-active-information [name='ok'], .qx-messagebox-modal-active-warning [name='ok'] {
 background-color: red;
}

You’ll need to do it for each style of MessageBox, but if you’d like the buttons to have different styles and still use a MessageBox, this is the way to go!

Best,

Levie

0 votes

Hi Levie.

Got it.
Thanks.

Ivan

0 votes

Hi Ivan,

It’s not currently possible, but I will log an enhancement to request the feature of having different appearances for each button.

The alternative right now is to create a custom MessageBox with your own buttons.

I’ll keep you updated on the status of this!

Best regards,

Levie

0 votes

Hi Joao,

Try adding a ClientProfiles.json configuration:

  1. Right-click your project in Visual Studio
  2. Add > New Item…
  3. Wisej 2 > Client Profiles

Also, add a Viewport to your project so it knows how to scale the screen for each device:

  1. Double-click Default.html
  2. Add:  <meta name=”viewport” content=”width=device-width, initial-scale=1.0″> in the <head> tag.

Try running the project, verify that the viewport is loaded in the “Elements” tab of Chrome under the <head> tag.

If it’s not loaded, try running the project in an Incognito window or clear your browser’s cache.

 

I tried this with your sample and it seemed to fix the issue. Please let me know if you run into any more issues!

Best regards,

Levie

 

0 votes

Here it is. I just changed your sample to have larger menu items and added some icons to them. Not too much, they should still fit, but we can see that the last set of menu items are shown on the right side and then being truncated. If they went down beneath the second set, it would fit just fine. This is being tested in Chrome with the iPhone 6/7/8 Plus profile.

I have also published your sample and if I navigate to it from my iPhones I get the same issue.

I see you are using a button and attaching a contextMenu to it, which is cool. However, in my application I have an ordinary MenuBar directly dropped into the top panel, so the “hamburguer” icon will only show up when necessary.

Thanks Luca and sorry if the trouble.

Ivan

  • Ivan Borges answered Sep 19, 2020 - 6:38 pm
  • last active Dec 16, 2020 - 4:57 pm
0 votes

Hey Frank.

All working fine now.
Thank you!

Cheers.

Ivan

0 votes

Hi Ivan,

this was a problem in the last release. It´s fixed in 2.2.25.

Best regards
Frank

0 votes

Thank you, Luca.
A

0 votes

Please attach the test case showing the issue.

  • Luca answered Dec 13, 2020 - 5:22 pm
0 votes

It’s a known limitation when binding to a child record, same for DataGridViewColumn. Child elements don’t use the Binding class, they use the BindingMember (DataMember, etc) which supports binding to the member. The nested properties are supported for child data sources and top level binding.

We have an issue logged for this as a possible future enhancement.

  • Luca answered Dec 13, 2020 - 5:21 pm
1 vote

Cannot reproduce any change in size unless you changed the size of the form in the profile. Usually floating forms are not well suited for mobile.

If you attach a small reproducible test case we can look into it further.

  • Luca answered Dec 13, 2020 - 5:17 pm
0 votes

All the options available to https://developers.google.com/maps/documentation/javascript/infowindows are there. It’s all javascript, Wisej doesn’t change the way the google maps works, it wires it to the server. If you have a sample project with an issue you can attach it.

  • Luca answered Dec 11, 2020 - 9:45 pm
0 votes

You can’t add controls inside a google map html text. The infowindow shows html text. All the guides are on google’s api docs since it’s their widget.

  • Luca answered Dec 11, 2020 - 9:15 pm
0 votes

OK, fixed on version 2.2.24.0

Unbelievably amazing.

Thank you!

0 votes

Got it. Thanks Luca.

Showing 4261 - 4280 of 11k results