How to customize UI Dialogs in Wix to modify location/size of Labels - user-interface

I've been wanting to modify the location of the InstallDirDlgDescription text (Click Next to install to the default folder or click Change to choose another.)
The x co-ordinate of this text by default is X="25" and the text overlaps with my logo (I've customized the dialog to change the banner to my logo).
I know I can change the VALUE of the String by doing -->
<String Id="InstallDirDlgDescription">This is a custom message.</String>
But is there a way of changing the location of the text (I want to set X = "5" so that the text shifts to left and doesn't overlap with my logo) ?
Thanks !

Use the UI element to change control attributes. See http://www.joyofsetup.com/2012/07/14/localizing-more-than-strings-in-wix-v3-6/ for examples.

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.

Editable TableOfContents boxes in each Powerpoint slide header

I would like each slide in my Powerpoint 2013 presentation to have at the top an outline showing the location within the current chapter, something like:
I would like Powerpoint to create new slides based on this slide template, so I edited the Title+Content slide-type as above, in the Slides Master; I used the slide's default Title box for the title of my first section (Intro), then copied/pasted that box to obtain the boxes for the other presentation sections (Methods, Results).
I expected that, in the newly created slides, I'd be able to edit each of these boxes (highlight current section & current slide position), so as to suit the slide where I am at the moment, in terms of title and current slide.
However, I can only click inside the first box (the default one that Slide Master gave me) whereas the others are just "drawn" in the background. Also, even after clicking in that first box, the existing text disappears rather than being editable.
Also, is there a way to automate this slide layout somewhat? I used white/black dot circle symbols to indicate within-section current-slide number, but is there a smarter way to make this in Powerpoint based on slide count within the current section?
At the very least, I'd like to have editable text boxes at the top of each new slide, with pre-determined names that can nonetheless be edited, and (imporantly) that can be updated all at once from the Slide Master, in case I decide to change my chapter/section names.
Not a trivial task for Powerpoint, I know, but I'm hoping that the knowledgeable good people on here might give some good suggestions/workaround, for which I am grateful in advance.
You can trick PowerPoint into adding editable shapes to the slide master by inserting a text placeholder and changing to shape to your desired shape. A little clunky but it works.
See this link.
Alternatively, you could write some PowerPoint VBA to create the slides with the desired objects.
Update
I use PowerPoint 2013. I downloaded your PPT. I wasn't sure whether you were referring to the textbox with the text "replace text ... " or the main text box for the slide. I'll assume you're referring to the textbox with the text "replace text ... " (mind you ... the answer is still the same).
It looks like you're adding a text box to the slide master (which is not what I think you want). Add a text placeholder like the screen shot below which you add from the Slide Master ribbon. Once added you can change the default text formatting (which is a set of bullet points), and you can change the shape (in this example to a rounded rectangle). I don't believe (?) that its possible to create default text for the text placeholder in Slide Master that appears as default text when the default slide is created using the master.
Then when you leave master mode, you have an editable text box. If you reset the slide, this shape reverts to its default formatting and position, but any text you've added is retained.
You can also change the default text box on the slide master in the same way (shape, shape formatting and text formatting).

Links in images in photoshop?

I don't think this is possible, but is there any way you can put a link in an image? I'm not talking about HTML. Literally in an image. Maybe when you put text in Photoshop there is a way to make that text a link? I don't know.
Is there a way to do this?
Step 1
Press "C" to select the Slice tool. Choose a slice style in the Options bar. In the default Normal mode, you click and drag on your document image area to create slices. Enter numeric proportions to create a height-to-width ratio for the Fixed Aspect Ratio style. Note that these values don't represent actual dimensions. To enter specific slice measurements, choose "Fixed Size" style.
Step 2
Click and drag on your document to create slices. If you've added guide rules to your image, click on the "Slices From Guides" check box in the Options bar so Photoshop automatically creates slices following your guides.
Step 3
Press "Shift-C" to switch to the Slice Select tool. Because it's nested with the Slice tool and shares the same keyboard shortcut, you need to use a modifier key to cycle from tool to nested tool.
Step 4
Double-click on the slice to which you want to assign the URL, opening the Slice Options dialog box. Type or paste your URL into the URL data-entry field, using either relative or full URL format. A relative URL loads a location that's within the site that contains the link. An absolute URL starts with "http://" and includes the full link to a page, which usually loads from another website.
Step 5
Specify a page-loading location in the Target entry field. To open a new browser window for the page you're loading, enter "_blank" without the quotation marks. To replace the current page content with the new page, enter "_self" without the quotation marks.
Step 6
Generate the HTML code that underlies the link you added. Open the "File" menu and choose "Save for Web & Devices" to access Photoshop's optimization and export capabilities. Once you choose image output settings and click on the "Save" button, you enter the Save Optimized As dialog box. Set the Format to include HTML in your file export and select HTML options.
read more # link1 link2

Enterprise Architect - simple UI Tab Control

Is it possible to change number of tabs and tabs name in simple UI Tab Control? How to do it? (user interface diagram)
I'm using EA 11.
No. Tab 1 | Tab 2 | Tab 3 is part of the element's image and you can't change them. There is a workaround which works visually, but won't help if you're looking to generate code out of your models.
Create a Text element (in the Common toolbox), and give it the name of your GUI's first tab.
Set a different default fill and text color for the Text element (Right-click and select Appearence - Default Appearance).
Pick the Fill and Border Color for the Text element that best matches the Tab Control's foreground, either in the diagram toolbar or the Text element's context menu.
Move and resize the Text element to cover Tab 1.
Repeat as necessary for the other tabs, using the appropriate color.
The Text elements are local to the diagram they're in and are not shown in the project browser (they are diagram objects but not proper model elements), but they move with the Tab Control so it works visually.
By making several copies of the Tab Control and varying which Text element has the foreground color, you can use this technique to show the different panes.
You can change number of tabs and selected tab this way (at least in EA 13):
Open Properties of the Tab Control;
In "General" select "Wireframing" tab. You'll see "Tabs" property with a value "Tab1";
Select this "Tabs" property and click on "Notes" menu. An editor appears;
In this editor you can change number of names of tabs;
Close editor and for "Tabs" property choose selected Tab;

How can I change size between lines in Unity3D's GUILabel

For my GUI I am using GUILabel.
How can I change the size between lines?
Unlike a GUIText there is no way to set line spacing for a GUILabel.
While a GUILabel is able to show multi-line text, to adjust the spacing you would have to insert extra newlines or modify the font used.
You can change the line height if you create a editable copy of the font, you just have to click in the font (in the Assets panel), go to the gear icon of the Inspector panel and click "Create Editable Copy". The new copy on the Assets panel has a parameter called "Line Spacing" that you can modify at will.
I think you need to assign a GUIStyle to your label then you can use:
http://docs.unity3d.com/Documentation/ScriptReference/GUIStyle-lineHeight.html
== EDIT ==
lineHeight is readonly ... seems not possible currently.. try modifying the font instead

Resources