I am hiding a preference window with gtk_widget_hide, but when I unhide it using gtk_widget_show, it shows up at the location where it was created, i.e. on the center of the screen, instead of where I left it. Looks like I'm overlooking a triviality: any help is appreciated.
You probably need gtk_window_get_position before hiding.
And then gtk_window_move after showing.
Related
How can i control scroll bar position for a sap.m.page. That is on click of a button, the page should be scrolled to top.
I tried using "page.scrollTo(10,0)", but didn't work.
Please correct me if m wrong.
Thanks,
Sathish
The one which i tried is correct, but the positive values is for scrolling down.
So i have done like this
"page.scrollTo(-10,0)"
Its working for me.
Regards,
Sathish
I want to crate a popup window with close button and the content of the popup will be a split-app master-detail page.Which control should we use to achieve this?
I've tried with a sap.m.page but unable to change height and width.
I've tried with a sap.m.ResponsivePopover but i can't remove the arrow thing on the top from that.
The arrow in sap.m.ResponsivePopover is using the css classes .sapMPopoverArrUp and .sapMPopoverArr so you could probably overwrite them locally to remove the arrow.
Thanks.I have used overlaycontainer to acheive the requirement.
I have a search icon, when i click on that, a search popup will opens(which is actually a vertical panel). In this Date textboxes are there. when i am clicking on a Data textbox. Its coming, but its behind the Vertical Panel popup.
My question is, when datebox is clicked, Calender should come front. What i have to do for that.
Can anyone please help me.
Thanks in Advance,
Saritha.
You need to set the CSS z-index property for the calendar to a higher value than the popup's z-index.
I had the same problem and Using z-index didn't work for me. I removed all z-index values from style sheets instead, and so far it worked.
Hope it can be of use for you.
G.
Could someone point me in the right direction on how you get your Page Controller to show the navigation symbol like this?
I couldn't really describe it well, and couldn't find much relevant information on the internet. Anything would be great, thanks!
This is most likely a custom UIPageController.
Or you might be able to add a UIImageView to the left of the page control and when you try to swipe, set that image view to highlighted and you'll get the same effect.
Here's a custom page control, DDPageControl
https://github.com/ddeville/DDPageControl
I am making a vertical Menu using GWT MenuBar and selection of particular MenuItem shows content on the right, I am trying to make something similar to TabPanel, but with Tabs on left instead of being on top. Now, since I've got the Menu items and actions in place, I want to remove the effect of hovering over and changing color, and keep that menu item selected which was clicked last and whose content is loaded on the right.
I am open to any comments, if you have a better solution to implement this, using some other components(with-in) GWT, please drop in a comment with your suggestions, I'll really appreciate that.
Or if you can just tell me how can I disable this effect, of hovering and sticking to only that selection, That would be awesome too..
Thanks to everyone, taking time to read this and suggesting a solution.
It's all defined in the CSS of your GWT's theme (probably the default one), so it's a matter of overriding those styles - make sure it's not the other way around :) Inspect the code with a tool like Firebug to see what's exactly being set and change that.