I'm trying to learn how to create apps by following the Standford swift class where the professor uses the constraint icons to position the UI objects on the views. In the course, the storyboard page shows the constraint icons at the bottom of the storyboard page.
I just download and started using Xcode Version 6.4 (6E7) and while creating the UI in a viewController I noticed the constraint buttons at the end of page are missing or not available. is there a way to get access to them thru the Xcode menus.
Where are they now?
The constraints buttons usually do not show up if you don't have auto layout enabled for the storyboard or XIB. The easiest way to check is to open the storyboard in Interface Builder, switch to the File Inspector (ALT+Command+1) and then check the Interface Builder Document section. There should be a checkbox for "Use Auto Layout". Is it checked?
Related
TL;DR: Although I can edit component attributes directly in XML (sanity check — I'm sane) the Attributes inspector pane claims nothing is selected. I.e. "It doesn't work."
I added a CardView to the main layout. It does show up in the Component Tree and in the Design Editor. I select the CardView in the Component Tree pane, but the Attributes pane says "No component selected".
I'm using Android Studio 3.5.2 on MacOS 10.15.1. This happens with all three CardViews (see screenshot).
Clicking the Text tab shows the XML for all the components, including the (so-called) "non-selected" one. Direct edits I make on the CardView XML entity do have effect, and the app builds and runs correctly, with all three CardViews showing up and scrolling in the ScrollView. So this is probably not a gradle issue (thanks autocorrect, it's not a cradle problem either). It's more like the build process knows about the views, but not the edit process.
I re-created the project from scratch, with the same result.
I had the same problem today with a FloatingActionButton in Android Studio on macOS.
Restarting Android Studio was the solution for me.
I am new to Xamarin IOS and I have a problem with creating nested layouts in IOS as like in Android(some text controls and a list view) . I added a tableview but not sure how to add some text and image controls in a view and add the tableview below the text and image controls. Also I am using ViewPager in Android and is there an equivalent control that I can use in IOS?
Yes, you should use UIScrollView and enable paggin there. The only issue that you need always to set the ContentSize for it, to make it scroll properly. So you should set the common Size of inner content.
You should check out monotouch.dialog for rapid tableview development. Once you get the hang of it, it makes creating tables a lot easier.
I want to change the position of the application menu in an Eclipse RCP application. This is what my UI designer wants it to look like:
Note that you have the menubar on the left and a tab-bar on the right, thus saving a line of vertical space. I want the menu to still be the application menu, and work with all the other Eclipse extensions for controlling it. I just want it in a different place. Can this be done in Eclipse/SWT?
Not by default, certainly not in Eclipse 3.x or even Eclipse 4.2 using the Workbench. RCP applications fill in the main menu bar using their subclass of org.eclipse.ui.application.ActionBarAdvisor, filling in org.eclipse.jface.action.MenuManagers. All of the default extensions in 3.x are also based on interacting with MenuManagers. The SWT Menu used in the menu bar doesn't allow that kind of overlay, AFAIK.
In Eclipse 4 the menus are described in a model, and then a variety of renderers (defaults provided by org.eclipse.e4.ui.workbench.renderers.swt.WorkbenchRendererFactory) are responsible for creating the SWT widgets. In theory it's possible to replace some or most of those renderers (in effect implementing your own menu system using SWT composites or buttons or canveses) but that sounds like a lot of work.
Has the browser window been removed from the latest version of Xcode? I've seen this window in an iOS class I watched online and again in a book I have. I can't find anything in the View menu to turn it on.
I'm running Lion and the latest version of Xcode. I created a new project with Core Data turned on and then built it. I then clicked on .xcdatamodeld file and I get a graphic window with the default table in it.
Do you mean the project browser on the left? You enable that using the 'view' buttons on the right side of the toolbar.
The toolbar might be hidden though, so go to the view menu and select "Show toolbar" if needed.
Then select the fourth button from the right on the toolbar, it is the first button in the set of view buttons. This shows the Navigator View on the left of your screen, which has 7 selectors on the top. The leftmost will give you the project browser (project navigator), the one next to it is the symbol navigator.
I hate to be answering my own question again. I like to keep my answer rate at 100%. Since I didn't get a response here, I tried the Apple developer forums. It turn out the Xcode 4.* changed the interface and this series of windows no longer exist. The same functions can be found in other locations.
I've a PyQt4 Installed on Python 2.6. I wish to insert actions or widgets into a toolbar in QtDesigner instead of adding them in code, with addAction or addWidget (as simple as adding actions to a menu in design time).
You can add actions by dragging them to your tool bar from the "Action editor" dock window. You cannot add widgets to the tool bar in Qt Designer, I'm afraid you'll have to do this from your code.
You can create your own widget plugins with new or extended functionalities.
Just follow the definition rules from the documentation .
I use a lot of custom widgets inside the Qt Designer.
Once you have figured out, how it works, it becomes a really power full method for your design work flow inside Qt Designer.