In Visual Studio Code, Terminal window is some inconvenient because of the width.
I want to widen the width from the end of screen to the end of screen.
Is it possible?
enter image description here
As far as I'm aware, no, this isn't possible to some extent, but perhaps there are some extensions you could search around to see if they can do something similar.
Remember that using your PC's command terminal is also an option.
However, I've found that minimizing the left sidebar by dragging it to the left is an option, which increases the terminal width to the entire screen if this is what you're looking for:
Note doing that disables you from accessing that entire sidebar unless you drag it out again.
I don't want to hide time, but want to use full screen
In the storyboard on the interface controller settings I set the checkbox "Full Screen" and "Fixed to screen edges" to ON.
In the storyboard I can see the full screen mode is working and the WKInterfaceGroup is scaled to the entire display.
But unfortunately on the watch device/simulator it does not work.
The group has alignment center/center OR center/top and width and height are set to "Relative to Container"
How can I really use the full screen mode?.
I just have to add a label equal to Time in top black space. I want to show some text here. I have seen this in some other apps, They are using this space. Even in Apple design guide lines docs, they use this space. I am adding these reference screenshots also.
In above pictures, you can see they used this top space for titles. I also want to add a label to show some text equal to time.
Any help would be greatly appreciated.
This is a really weird bug. After digging around I've found a way to fill the whole screen. It's not pretty but I'm consistently getting full screen if i'm adding a sprite kit scene into a "main group". Again; it's not an elegant fix but it works and isn't really that resource intensive. Hope this works for you too!
My VB6 application is having a layout problem on certain end user PCs, but so far we are unable to identify what is causing this.
Normal layout:
Broken layout:
The text on the left are the captions of the radio buttons. The text in the upper right is a label.
I am familiar with two different settings in Windows Control Panel which can affect text size, and initially we suspected this was the cause. In Windows 10, they are:
Control Panel >
Appearance and Personalization >
Display >
(1) "Use these display settings" > "Customize your display"
or
(2) "Set a custom scaling level"
(Terminology was different in earlier Windows versions but I think the features were the same?)
However upon testing these settings with our app neither reproduces the problem.
What else might be causing the text layout issue shown in the image?
This appears to be caused by a Windows bug.
The description & fix as mentioned in the source website are as follows:
if you have a high resolution screen at install time, Win7 will install a larger font set (125%) by default. If you then choose go back to the standard font size (100%), Windows will keep some of the large fonts even though everything else is adjusted for standard fonts, causing programs that use these fonts to break because the text will not always fit inside the GUI.
By editing the Windows registry you can get the original, intended fonts back:
Open the start menu and type regedit and then press Enter.
Locate the key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts
Find the value MS Sans Serif 8,10,12,14,18,24
Change from SSERIFF.FON to SSERIFE.FON
Find MS Serif 8,10,12,14,18,24
Change from SERIFF.FON to SERIFE.FON
Finally find Courier 10,12,15
Change from COURF.FON to COURE.FON
Restart your system in order for the changes to take effect!
The exact font names may vary depending on locale settings.
I was able to create the problem scenario as described here on Windows 10, and that reproduced the problem with our VB6 app. I think that confirms this as the fix.
A Microsoft blog post seems to be the authoritative original source of this information.
By mistake, the option on "custom sizing options" was set at 500% in the section "change the size of all items".
The result is all elements on the screen are huge, and whereas I am able to reach the display section and through tab I am able to navigate some options on the left panel, I am unable to reach the change the size of all items section.
I have tried several things to revert it to 100%, but all have failed so far:
Restart on safe mode. Displaying it on a different monitor and proyector using both hdmi and vga. Uninstalling the graphics driver didnt help. Using the "zoom" only has option to zoom in. Changing the screen orientation to vertical in hopes of accessing more options allowed me to see the left panel but not more. Using ctrl + mouse doesnt change the size inside the Display section. The computer doesnt have a restoration point to go back to, and I cant uninstall the applications because it isnt my laptop.
I have been searching for the correct command to execute but the closest I have found is "Display Properties control desk.cpl" and it is not the command I need. By the way, the computer is a lenovo using windows 8.1 in spanish. I have tried in other computers, for example a dell in windows 8 and the percetage is limited to 200%, so I cant test it correctly.
If somebody has a solution or any suggestion please share.
English is not my mother language so please excuse the grammar and misspelings.
With Enterprise Architect (Version 9.2), I created some Class and Sequence UML Diagrams. Now I need those Diagrams in a Word document.
My first approach was to just cut them out with the Windows 7 Snipping Tool and paste them into the document. But for printing purposes the quality was way too poor.
The second approach was to "Save them as Images" as offered in Enterprise Architect. But with this, the quality was even worse.
The third way was to export them into a pdf file. With this the quality was quite decent and I could import those pdfs into Inkscape and then convert them into *.png files to import them to word. The problem is, that Enterprise Architect kinda fails with the fonts. Meaning the picture itself has high-quality, but it tries to convert the font of the classes and then I have some spaces between letters where there should be none.
So long story short - is there a way to export my UML Diagrams from Enterprise Architect to a common picture format like .png or .tiff, while retaining decent quality?
As I'm sure you're already aware, you can save a diagram as an image in several formats, including PNG but not TIFF.
The quality of the images can be controlled in the options (Tools - Options), "Diagram" tab.
The "Image Memory Limit" controls the amount of memory the image conversion process is allowed; increasing this should improve the quality of large diagrams.
"Scale Saved Bitmaps to" allows you to set a higher resolution for the images.
I haven't checked whether these also affect the copy-to-clipboard function (in the Diagram menu or CTRL+B), which is the way I usually copy diagrams into documents.
To have diagrams in word there is very easy way.
Simply, open diagram in ea then select all with CTRL+A, then copy CTRL+C, go in word and just do paste CTRL+V. Easy and perfect quality.
For some reason, when you use Ctrl-B to export a Sparx EA model to MS Word, you get a bitmap copied to the clipboard, but when you paste into Powerpoint, you get an Enhanced Metafile. This is vector graphics which can be zoomed into etc. with no loss of detail.
Prep
Before you start, go into EA and Tools->Options (or hit Ctrl-F9).
Ensure that the General properties page is selected.
Check 'Clipboard' is set to 'Metafile' (if it is set to Bitmap, you will
only ever get a bitmap produced, even in Powerpoint).
Steps
Open your EA model to be exported.
Open Powerpoint and clear the default bounding boxes leaving a blank slide.
Open Word and locate the point in your document where you want to paste the model.
Back to EA, open your model window and hit Ctrl-B (Diagram->Paste Image to Clipboard)
Go into Powerpoint and hit Ctrl-V to paste.
Resize the model to fit the slide.
Hit Ctrl A then Ctrl C to ensure everything is copied to the clipboard.
Go into Word and hit Ctrl-V to paste - you should now have an EA model in EMF metafile format, not a bitmap. Document reviewers can now zoom in and see the full detail in the model.
Do the following:
PACKAGE->Documetation->Publish as HTML
Create new folder for output and set the path in"Output" field.
-> Press Generate
Goto ..[your folder]\EARoot, the files named EA*.[png|gif] are your diagram
images in original resolution.
Myself, I used ctrl+P and used my pdf converter for printing.
- Before this, I setup the page size in the Diagram properties -> Diagram -> Page Setup -> Advanced.
- I set "Scale to one page" then i click "Page Setup", choose the appropriate page size and orientation.
- My PDF converter is PDFCreator: http://download.cnet.com/PDFCreator/3000-2064_4-10558866.html
While I see that you seem to have this resolved (happy to hear), I'll post this in case others don't have any luck with the above.
I've always just selected (ctrl+A for the whole diagram) and pasted in to Word/PPT/Outlook and the diagrams were converted automatically to nice PNG scalable images (without ever changing the memory/quality settings).
But on a recent project it seems that when I tried to do the same the quality was very poor/fuzzy and the text was sort of squashed.
Are you by chance using Remote Desktop to connect to a machine that is Running Sparx EA? There is another thread floating around somewhere (sorry don't have the link) where others were having this similar trouble when connected via RDP in Full screen display mode. I was able to export good quality from a non-RDP session, or I think if I connected via RDP but not in Full-Screen mode it owuld export in the quality I'm used to.
Hope this helps anyone else with a similar issue
Change your diagram themes, go to tools->diagram->Themes and change diagram themes to "blueprint" and go to file->Print to PDF
With Version 13 (probably older versions as well) you can press Ctrl-T to open the dialog "Save as Image". There you can choose between .png, .bmp, .jpeg, .tga, .gif, .wmf and .emf.
Copy the diagram Ctrl + A, Ctrl + C and paste it into Microsoft Paint and then save it as jpg/png file.