how to align the text in the text box in Xcode? - xcode

I don't know how to align the text in the text box. I need to change the font size, font type in the text box. Is anybody know that means send me the answer?

Its rather simple.
Follow these steps and you will be done with what you need.
In your storyboard, select your text box and then open up the Interface Builder.
In the Interface Builder,you will see properties for "Alignment","Text Size" and Color.
Make appropriate changes there and your done.
Hope this helps.

Related

Is there a way to change the font size in the serch dialog Find and Replace with fields

Is there a way / settings to change and / or increase the font size in the search / find dialog (field where text is typed, not talking about the label) ? Example with long regexp, it becomes non readable at all, (stupid) example:
Find: ^/drive/www-root/aw/([a-z0-9_]+)/(.*)xml$
Replace with: # necho " " >> /drive/www-root/aw_files/xsltproc_1.done nxsltproc -o /drive/www-root/aw/1/2html /drive/www-root/aw/resources/1.xslt /drive/www-root/aw/1/2xml
enter image description here
Thanks
Although you can't specify the font size in the Find box to any arbitrary size, you can make it use the same font size as the editor. To do this, select Customize on the Tools menu, select the Search page, and ensure the Change Font for Find/Replace Drop-Down List option is set, and the Change Font only if Character Set of Selected Font is not System Default is clear.
An alternative way for such tasks:
EmEditor can grab text from such controls via its tray icon app (emedtray.exe).
Run emedtray.exe;
Add a hotkey for Grab: http://www.emeditor.org/en/dlg_tray_index.html
Then click (to set focus) in the field you want edit; Press the hotkey;
The text in that field should be grabbed into EmEditor main window;
Then you can view/edit it with the abundant functions EmEditor provides (including Ctrl+wheel to change font size);
After editing, just close that window, the edited text will be sent back to the source field.

What's the name of the bar below the Property grid in VS?

I'm using the Visual Studio Color Theme Editor extension to help darken up VS2010, found a nice theme that I like however I've got one big problem with it.
On the Property sheet, at the bottom where it says the name of the property and a sort description this theme I'm using is impossible to read; Black on a dark grey background. Unfortunately, I don't know what this specific segment of the Property window is called to change it.
You can not change the text color with the extension.
To figure that out, copy FFFFFF, select all line in the theme editor configuration pane (with Shift), press Ctrl+V (yes, you can do that, pretty neat !) and hit apply : everything that can be themed will then appear white. The text however, will stay black.
You can hopefully change the background color : It's called ToolWindowBackground. It will affect all tool windows of course. There's no specific item for this window in particular.

Xcode- Make Textview continue horizontally forever

I am trying to make a basic text editor (For a School Project if you are wondering) and I want to make it work with different code. The problem is that I cant get TextView to go on forever horizontally. Similar to Notepad++. I have set it to have the ability scroll horizontally, but I cannot seem to make the text keep going on one line. This is for a Mac OS X application and I am using Xcode 5. Also, on a side note, if you by chance know how to number the rows, I would greatly appreciate that as well. Thank you!
Menu option: Xcode->Preferences
From there go to the "Text Editing" tab and check the box for "Line numbers" then in the Indentation subtab uncheck the box for "line wrapping"
To disable word wrap on an NSTextView see this SO answer

Is it possible to set color of texts in dialog boxes of Applescript?

Is there any way that the text's color inside a dialog box of Apple script can be changed???
Please reply
Thanks in advance.
No, there is not a way to change the text color in a AppleScript dialog box. However, you can change other aspects such as displaying an icon, making the text field display the letters as bullets (for things like passwords), etc. See AppleScript Wiki for more info.

append a colored text to another text on macOS

I am developing an application in Cocoa.
I need to append a colored text to another text in table view, Is there a any way to do this?
Take a look at NSAttributedString, it will let you do exactly this.

Resources