Windows Phone 8.1: MessageDialog Text Style - text

I want to style the MessageDialog text and align its text to the right instead of left.
How can I style the MessageDialog text in Windows Phone 8.1?

Use ContentDialog instead. You can build it using Visual Studio template (Project -> Add -> New Item -> Content Dialog)

Related

Why does Android Studio Kotlin Compose Template display text wrong when app is run?

I built an app from the Android Studio template using the new Compose feature (official docs).
The Preview looks like the following:
However, when I run the application, it looks like this (text is much smaller & is not centered in the View):
Is that not an actual Preview of the UI in the editor?
Is there a way to do a true preview of Compose in Android Studio?
Jetpack Compose Preview shows only the elements contained in the function that has the annotation, not the entire device display.
You set the #Preview on the Greeting function, which contain just a Text() element, and that's what you got in the preview panel.
You can wrap your Text with a Column or Box and tell Compose to fill the entire screen with a modifier.
Box(
Modifier.fillMaxSize()
){
Text(text = "Hello $name!")
}
Note that even on your device, the text does not fill the entire screen, it is only placed in the first available space. Everything works fine.

Android Studio changed to Ugly Font [duplicate]

Right now I am using the Darcula theme. I want to change the default font to something else. I go into Editor > Colors & Fonts > Font but all the options are greyed out. For Editor Font it shows Show only monospaced fonts as checked with Primary font as Monospaced, but neither of these can be changed. I tried changing the font under Appearance but that just changes the font used around AS and not inside the editor.
All you have to do is click the "Save As" button to create a new profile. You can't change the font because you can't overwrite the default profile
Android Studio The defaultEditor(Editor)TheScheme(Scheme)Is the font cannot be modified,you canSave as,
Save as a new scheme (Scheme),and then change the font size;
Location: File->Settings->Editor->Fonts -> Font & (for Mac : Android Studio -> Preferences)
We can change the font size according to CTRL + mouse wheel which is really easy to use it !!!
To use this feature select File -> Settings -> Editor -> General -> select the checkbox of Change the font size (Zoom) with Ctrl + Mouse Wheel
I hope it's helpful.
After Spending a good quality of time on this issue i finally fixed it...
In Latest Android Studio 3.2 version
Follow it will work for sure...
Step 1: Go to File Select Settings...
Step 2: Select Editor and select Color Scheme from right side window...
Step 3: Create a duplicate scheme by clicking on the setting icon from right side window as shown below image
Step 4: Now select Color Scheme --> Console Font from left side window and follow the image...
point 1...
point 2...
point 3 select the scheme which we create in Step 3
point 4 select the font type you want display text
point 5 select the font size of your wish.
Click on the Apply and Ok...
Step 5: Work 100 percentage...sure...
Find Setting icon from top toolbar and follow the steps accordingly in image attached.
I was able to increase the font, using the follow strategy.
If creating a custom setting doesn't help:
Click on File -> Settings ->Editor and check the field: "Change font-size with CRTL + Mouse Wheel"
Worked for me.
We have to be more careful when doing this. For the first time I have changed the font size of menu by mistake instead of font. First create your own scheme by going to File-->Settings-->Colors & Fonts and then you can make changes to your own scheme. The final procedure is to go to settings(File-->Settings) and then select Editor and Colors & Fontsin the left bar menu. Then select the arrow on the left side of Colors & Fonts and then select Font in the left menu bar. You will get options to change your values. Remember you can only change values to your own sheme.
Android Studio 3.3
Preferences>Editor>Color Scheme Font Select the cog next to the Scheme:and choose Duplicate. On the same screen, choose your desired font and select Apply to preview or OK to store and exit preferences.
For Android Studio 3.4.1 Go to File -> Settings -> Collapse Editor -> Font -> Select the required font -> Click OK.
Done.

Make XML Split view default in Android Studio 3.6+?

In Android Studio 3.6 and above, an XML file always opens in the "Code" view by default. How do I make it open in "Split" view by default?
UPDATED
Now for Android Studio "Arctic Fox" - Preferences -> Editor -> Design Tools. Nice!
In Android Studio 3.6 if you open Preference->Editor->Layout editor you can see for this case only check/uncheck "Prefer XML editor" for show modes "Code" or "Design" view without "Split", very strange... Waiting for possibility check mode "Split"
UPDATED
Now Android Studio 4.0 has "Split" option. Nice!
Here's what worked for me, hope it works for you too.
Close all tabs in your editors.
Open one xml file and click on the split view button at the top-right section of the tab.
Close the tab again.
Android Studio then remembered my selection for all other tabs opened from then on.
Using the keyboard shortcuts (Ctrl + Shift + Left/Right Arrow if you are on a Mac, or Alt + Shift + Left/Right Arrow otherwise):
Code: provides the functionality of an XML text editor.
Design: consists of a view containing the design editor (e.g. navigation graph, layout) that can be used to edit the file graphically.
Split: displays both Code and Design side-by-side, so you can preview your design while editing the text.

Android Studio auto suggestion code popup text color

How I can change the suggestions' text color in the code completion popup?
It is hard to read when using the Darcula scheme.
To change the color of the code suggestions popup you need to do the following:
Go to File -> Settings
Editor -> General -> Code Completion
Check the box where it says "Insert selected variant by typing dot, space, etc."

Snap grid on WPF Window Designer

In Visual Studio 2012, I can click the button "Show snap grid" on the bottom left of the designer window. How to customize that snap grid? I follow
TOOLS -> Options... -> Windows Forms Designer -> General -> GridSize (8;8)
But (as expected), it cannot change the grid on WPF Window Designer...
You can do it only in Microsoft Blend (or Expression Blend).
TOOLS -> Options -> XAML Designer -> Artboard -> Gridline spacing

Resources