Dymola diagram view in Simulation tab - dymola

In Dymola 2020/2021 I use the Diagram view in the Simulation tab to analyse simulation results. However, sometimes I accidentally close the Diagram view.
On the ribbon it is possible create new plot views, new tables and new animations, but no new diagram. How can that be done?

Re-opening the "Model View"/Diagram in the simulation ribbon is possible using the buttons in the status bar at the very bottom of the Dymola UI. On the very right of it you will find the "legacy" icons for views. Clicking the Dymola-Icon (marked by a red circle below) will show the "Model View".

Related

Changing View on Xamarin Studio

Currently my view is stuck with my "Watch" outside of my other views:
Ideally I would like to have my "Watch" tabbed in with my other views such as "Locals, Breakpoints, Threads, Application Output."
Normally this would be as simple as dragging the "Watch" into the other tabbed views. However, I have been unable to do that and it just snaps back to a solo tab.
How do I combine all these tabs? This is driving me crazy.
Figured it out! This wasn't as intuitive as it could be:
To conjoin separate tabs, you need to drag the tab to the CENTER of the new tab as seen in the picture below.
Note. Do not try to drag the new tab to the TABBED part. Simply drag it to the center of where you want to conjoin. In the above picture I am dragging the Breakpoints tab into these tabbed views.

Yosemite Toolbar Style

How do I get the new toolbar item style of OSX Yosemite?
I created a standard toolbar, but the buttons don't have that button-like look. Do I need to drag actual buttons to the toolbar to get this look?
What I have:
What I want (that round bezel and white background):
There are two types of items in toolbars, image items and view items. It looks like you have an image item. You seem to want a view item where the view is an NSButton configured as a round textured button. So, yes, you should drag actual buttons to the toolbar.
I would not attempt to control the button background. You should use the button as-is to get the default system appearance. Apple recommends using a PDF template image (all black with the alpha channel used to make the image). The button itself would not have a title/label. Rather that would be on the containing toolbar item.
It looks like you may have applied an internal blue "glow" or highlight to your image. Generally, you should not do that. Let the frameworks apply appropriate effects to the template image automatically based on the button state and shows-state-by mode.
Toolbars in the Human Interface Guidelines
Controls which are appropriate to use in the window frame (including the toolbar)
Designing images for toolbar buttons
Works just fine for my Cocoa app under Yosemite -
are you actually setting the template property for your icon images..?
From the NSImage docs:
The 'template' property is metadata that allows clients to be smarter
about image processing. An image should be marked as a template if it
is basic glpyh-like black and white art that is intended to be
processed into derived images for use on screen.

Cocoa Unified (Login) Window [duplicate]

This question already has answers here:
NSWindow Mac App Store like Title Bar
(3 answers)
Closed 8 years ago.
How does one make a window like in the screen below? As you can see, the titlebar is merged with the window.
As an aside, does anyone know of a good open source application that has this kind of login window, so that I can inspect it and also see find some good alternative UI elements for username/password field and buttons.
If you use INAppStoreWindow you could replicate the effect of the window in your screenshot. As the window in your screenshot has a clearly delineated separation between the login fields and the new account section you could use the ability of INAppStoreWindow to draw a significantly larger title area than normal.
This would allow you to place the login fields in the "title" area of the window and the new account items in the normal area of the window.
With INAppStoreWindow you would want to create a separate view in interface builder that will be added as a titlebar subview that contains the login fields. Then you would use a custom title drawing block to draw the gradient from the top of the window down to the bottom of login custom view.
You would also want to disable the vertical centering of the "traffic control" button (close, minimize, zoom). To achieve the look of the custom controls, you could simply draw the style right into the window and then use borderless controls, which would give you the style you want for the text fields. For the buttons you would want to create custom subclasses to draw them in the styles you want.
For the bottom part of the window you would draw your gradient in the drawRect: method of your window view subclass.
https://github.com/indragiek/INAppStoreWindow is where you will find INAppStoreWindow, I recommend reading the documentation. This window subclass will fully allow you to create the style of window in your screenshot!
Good luck! :)

Working with large views in Xcode and Interface Builder

I am new to Xcode and I'm currently working with a view which is rather large. I am using a scroll view which works perfectly when I run the application, however I find it difficult to work with such a large view in interface builder. Is there any tricks such as making the working area in Interface Builder larger? Or should I simply stop using interface builder and instantiate the GUI-components programatically?
You can change your view size to freeform and set its size to anything you like just for looking at it and then set it back to its original size
There are buttons in the upper right corner of the project window toolbar that will hide the navigator and inspector.
Click the left button to hide the navigator. Click the right button to hide the inspector. Hiding the navigator and inspector will give you more room for the Interface Builder canvas. I recommend starting by hiding the navigator because Interface Builder uses the inspector for many tasks.
Another way to get more room for the canvas is to use the icon view for the object list, which is to the left of the canvas. There is a button in the lower left corner of the canvas that toggles the icon and hierarchical views of the object list.

XAML Design view stuck in 'snap to grid' view

Silly question, but I somehow switched the XAML/Design view to 'snap to grid' view and can't seem to get it back to the standard design view, even by resetting VS to default settings. What's the hot-key to get my XAML/design view back to the normal view instead of the grids? Visual Studio 2012.
There are a series of three toggle buttons in VS2012, at the bottom of the XAML Designer (also called the 'Artboard'), and to the left of the scrollbar below it. These three toggle buttons will do the following (in order from left to right):
Show/hide gridlines
Enable/disable snapping to gridlines
Enable/disable snapping to snaplines (baselines, alignment margins, and the like)
These are also described a bit further here. They're settable via Tools -> Options as well.