Is there any way I can place a ContentView or Grid to cover complete page in Xamarin.Forms?
I need to place it over the TitleBar area without hiding the TitleBar.
I tried to achieve the same using RelativeLayout but it is not working. I am trying to achieve something similar to a popup/modal.
Sadly I can't use any Third Party control in my project or PushModal either.
Ideas?
Adding the sample screen.
You could set in Xaml:
NavigationPage.HasNavigationBar = "False"
If you want to make the content whole page and without hiding the title bar, then you need to make the title bar transparant.Follow this tutorial https://xamgirl.com/transparent-navigation-bar-in-xamarin-forms/
or
If you are trying to achieve popup, consider using this wonderfull plugin https://github.com/rotorgames/Rg.Plugins.Popup
Related
I have different controls in my XAML page which consists of charts in Xamarin.Forms. The functionality that I want to achieve is to make a long press on each chart, then drag and drop the chart to another place.
I am taking this as an example : https://canbilgin.wordpress.com/2018/03/17/re-order-listview-items-with-drag-drop-ii/
But I dont have a listview in my XAML page.
How can I achieve this in XF ?
You can set a Draggable View, and put inside your Images / Graphs or whatever.
A good tutorial can be followed here
I'm currently using the Sencha Ext.ux.TouchGridPanel, and I need to know how to add it to a Panel dynamically. Currently, I set up a store, then use a function to generate the Panel. I then use
myPanel.add(myTouchGridPanel);
This displays the toolbar and headings of the Panel, but not any of the information within it. Making the TouchGridPanel fullscreen works, but then the animations are sloppy.
If the component is working correctly, perhaps the panel you are inserting it into is not the size you expect it to be?
Or maybe the GridPanel is not stretching to the size of the panel, in which case, you should add a fit or card layout to the panel, so it fits to the size of that panel.
If neither of these two things work, I suggest you open up web inspector and look at the dom of your panel - and see what the size of it is, and if the grid is actually being added to it or not.
How to Remove Toolbar from QToolBox in Qt?
Normal Toolbox looks like this:
I want to remove this button written with Page 1. Something like this :
I'm not sure if this makes much sense, since those buttons are needed for the functionality of the QToolBox. If you want a stack of widgets for which you can manually control if they are shown or not, then QStackedWidget provides similar functionality without displaying any elements of its own.
edit: No, as the QToolBox it doesn't come with a scrollbar. But since you 'fill' it with widgets of your own, which then are displayed with setCurrentWidget, you can use for example QScrollArea and placing your own widgets inside it.
I am working on a navigation based application. I am using navigation controller for this purpose. I want to use tab bar on one of the screens and i am not able to find any way of doing this. As far as i have read, it is not possible to add tab bar controller when you are using navigation controller. Is it right? One solution was to manually add a tab bar on the screen and write its delegate class but in this solution, I will lose "More" button functionality because this thing is handled by tab bar controller itself. Does anyone has any solution to my problem? Please help!!!
You can add a UINavigationController to each of the UITabBarController's tab views but not the other way around.
According to Apple's documentation you cannot push a UITabBarController on top of the UINavigationController. I'm not sure if that is a technical limitation or if they will reject your application when you submit. Either way you shouldn't try to do this.
In my flex app I have custom tooltips on buttons that hide and show based on user context.
The problem that I dealing with is that when I call my showTips() function I only want to show tooltips on the buttons that visible in the view. So buttons that on a un-selected tab (tabNavigator) should not show the tooltips.
For some reason all tooltips are showing.
Is there a way to detect if a button is not in current view, like on a un-selected tab?
If you gave us some code I could check this out, but would this work?
if(button.parent.visible) { showTip(button);}
Instead of custom coding for each button, make use your tabnavigator's creation policy is set to "auto".
Check this link for more details
http://livedocs.adobe.com/flex/3/html/help.html?content=layoutperformance_05.html