Search found 3091 matches

by sfernandez
02 Sep 2024, 19:02
Forum: General Discussion
Replies: 2
Views: 229

Re: System.ComponentModel.EnumConverter

You should be able to define a TypeConverter for your type the way it is explained in that article [TypeConverter(typeof(EnumDescriptionTypeConverter))] public enum Status Although we don't expose the EnumConverter class (could you please create a ticket for this?), I think you won't need it in this...
by sfernandez
02 Sep 2024, 18:44
Forum: General Discussion
Replies: 3
Views: 348

Re: Wpf app with Noesis theme looks different as in xamltoy

I understand now, the problem is that the root element is a custom control and implicit styles only apply when the type matches exactly the same type. So in this case, as there is no Style defined for "workspace_hello.MainWindow" it won't apply any style from the theme. There are two optio...
by sfernandez
28 Aug 2024, 00:01
Forum: General Discussion
Replies: 2
Views: 198

Re: RadioButton binding behavior; getters not always called

I guess you have a binding to the RadioButton IsChecked property, is that binding in TwoWay mode? Using one way bindings has problems now: https://www.noesisengine.com/bugs/view.php?id=3429, because as soon as you click the radio buttons, the binding will be removed and the viewmodel won't be update...
by sfernandez
27 Aug 2024, 23:56
Forum: General Discussion
Replies: 3
Views: 180

Re: Slider with not positive min value slightly fluctuates after decreasing min value

This is clearly a bug in the Slider logic, could you please report it in our bugtracker?
by sfernandez
27 Aug 2024, 23:51
Forum: General Discussion
Replies: 2
Views: 400

Re: The Window style does not apply

Hi, this could be related to some recent change regarding how the Window performs the clear of the background.
Could you please open a ticket about it?
by sfernandez
27 Aug 2024, 23:45
Forum: General Discussion
Replies: 3
Views: 348

Re: Wpf app with Noesis theme looks different as in xamltoy

Hi, Using a Grid as root means that the default value of the Foreground property (Black) is used for TextBlocks, as that property is not inherited from any Control. And because XamlToy uses NoesisTheme.LightBlue.xaml as the theme for the application resources, the black texts look quite good. If you...
by sfernandez
16 Aug 2024, 18:18
Forum: General Discussion
Replies: 4
Views: 1137

Re: Custom TypeConverter for Wrapper to String

You are not providing the expected params to this macro NS_DECLARE_REFLECTION( Noesis::TypeMetaData... ). You should specify there your type and its base type: NS_DECLARE_REFLECTION( LocalizationWrapperTypeConverter, Noesis::TypeConverter ) In order to be automatically associated with the Localizati...
by sfernandez
13 Aug 2024, 11:58
Forum: General Discussion
Replies: 4
Views: 2590

Re: Sizes for mobile views in mobile Unity simulator.

when you say tied to a fixed aspect ratio you mean having a fixed width and height for the main container right? Exactly, if you have your root container set to a fixed width/height (for example 1920x1080), even if you wrap it with a Viewbox it won't be able to scale properly to other aspect ratios...
by sfernandez
12 Aug 2024, 13:49
Forum: General Discussion
Replies: 4
Views: 2590

Re: Sizes for mobile views in mobile Unity simulator.

Hello, The simulator seems to be defining different resolutions and scales, and Noesis should adapt just fine. I've tried with the Login sample included in our package and it works as expected in all the simulator devices I tried. iPhone 12 on the left vs Xiaomi Redmin 4 on the right: login-sim.jpg ...