What is this, when i debug xaml (Univesal) apps? - xaml

Does anyone knows wat those black boxes are when you debug an xaml app?
It shows also on top of visual studio.
Can I disable this?
Thanxxx.

It is FPS counter. Remove this line from App.xaml.cs to disable it.
this.DebugSettings.EnableFrameRateCounter = true;

Related

RelativePanel arrangement in UserControl crashes the parent page's Visual Studio designer in my UWP app

When I try to use a RelativePanel container within a UserControl, which is then subsequently used in another/parent page within a DataTemplate for a GridView or ListView it crashes the Visual Studio designer for that page. At run-time, it still works, but without being able to see the result within the Visual Studio designer, I am having to go back to using StackPanel controls instead, which works.
Note that I am using x:Bind within my UserConrol and that the crash in the Visual Studio designer only happens when I try to arrange the child controls with the RelativePanel using something like the RelativePanel.Below property.
The exception thrown in the designer is like:
I am using xRelatedMovieImg in the UserControl as follows:
RelativePanel.Below="xRelatedMovieImg"
So has anyone else seen this issue and if so he is there a fix or work around?
Was experiencing the same issue. Found that using Binding worked in my case. So yours might be
RelativePanel.Below="{Binding ElementName=xRelatedMovieImg}"
From what I've experienced, the Designer can be very fragile and crash for the weirdest things. Usually it helps by doing a rebuild of the project (Ctrl+Shift+B).
Also, if you're only changing the design and not debugging you can get faster launches by using "Start without debugging" (Ctrl+F5) from the Debug menu in Visual Studio. That way you don't have to wait for the debugger to get everything set up.

Can I increase the size of menu buttons in intellij

So my Intellij install has buttons that, to me, are way too small. Here is a screenshot.
As you can see the buttons are tiny, is there an easy way to make them not so tiny?
There is no way to change the button size manually. If you're using IntelliJ IDEA on a high DPI display, IntelliJ IDEA version 15 (which is currently available as an Early Access Preview version) will automatically scale all UI elements according to the Windows scaling settings.
You can just bear with it for now or if you are using IDEA Community, edit some code in there.

UWP Window Placement

I am creating a .net UWP application in Visual Studio 2015 RC. I successfully set the Window size by using the following code:
ApplicationView.GetForCurrentView().TryResizeView(New Size(width, height))
What I would like is to be able to set the preferred window position on the screen (e.g. centred) but cannot find a way to set this in code.
Am I missing something obvious?
Thanks,
Mark
You're not missing anything obvious. Apps can request a specific size but not position for their views.

How Can I set the background of a browser window blend with the desktop background?

I'm trying to build an app with nwjs, and I want it to have the look and feel of a desktop app. Desktop apps on OSX (Specifically the ones on the upper menu) have their background blend with the desktop background.
Does anyone know how can I do this in a browser, or simply in nwjs (Node-Webkit)?
Thanks,
Adir
Are you thinking of window transparency? If so this is possible in newish versions of NWJS. (node-webkit >= v0.11.2)
https://github.com/nwjs/nw.js/wiki/Transparency
It seems I was going the wrong way. The blend mode is available for menus only.

Refresh designer in Blend

Either I'm not as intelligent as I once believed or the UI in Blend is really this bad.
Is there any way to 'refresh' changes I've made to an XAML file in the designer? Something simple like changing 'Fill="Red"' to 'Fill="Blue"' does not show up in the designer unless I close and re-open the file.
Google and SO were sadly and surprisingly not helpful. Thanks!
I can't say I've ever had this problem. The only time I've had the designer not refresh was if I was tinking in code view, or if I had changed some code and not rebuilt.
Does it always do this? Do you have issues with any other WPF apps or any other UI glitches? I'm assuming this is Blend 2 or 3?
Changes in xaml are reflected on the Blend design surface for me. Preferably, you would change the fill using the properties panel.