How do I hide the west-Area on a borderlayout? - zk

When I hide the borderlayout I do not want a frame displayed, is there anyway to do this?

You can hide the frame/border on the parts of a borderlayout by setting border="none".
&ltborderlayout&gt
&ltwest border="none"&gt
&lt/west&gt
&lt/borderlayout&gt
It's in the ZK borderlayout example, though not very explicit. Notice the "Here is a non-border" panel.
PS: Welcome to StackOverflow. In the future please be more specific with your questions; you'll get much better interest and more useful responses.

If you set the west-Area to '0px' how you will get it back to the original width?
west.setWidth("0px");

Related

is there anything to customize avatar like bitmoji with choose face shape Flutter?

I want to customize avatar like bitmoji with choose face shape and choose all options like hair, beard,.....
I dont think I get your question right.
Have you checked if any plugins do it? Maybe you can try out Flutter-Moji, had a bug last time I used it, but it's probably fixed by now.
Yeah. There is a very nice package developed for this.
https://pub.dev/packages/fluttermoji
good coding

React Native DrawerLayoutAndroid + Toolbar

I've tried so many examples, and I couldn't do Toolbar work with a DrawerLayout.
Can anywone fix the example above, and show me in rnplay how does it work?
This is an example of what I tried to do.
https://rnplay.org/apps/telLVQ
Thank you.
Try setting a height to your . Also set styles to your view to fill the screen.
https://github.com/facebook/react-native/issues/7915

VB Hiding Child Forms

I'm making a program that involves children, kind of. I'm using form2.Owner = me instead of parenting Mdi.
I have a button on Form1 that needs to hide the child forms, or even move them to back so I can only see Form1. Is there anyway to do this? If so, I hope there's also a way to undo as well?
If you only know of a way for parenting Mdi, I'll be willing to change, as long as it can get finished.
Thanks,
Zach
"Is there anyway to do this?"
FormName.Hide()
"I hope there's also a way to undo as well?"
FormName.Show()
If you simply want to hide it momentarily from prying eyes, I suggest minimising the form.
Me.WindowState = FormWindowState.Minimized

Providing un-intrusive messages on an iPhone

This is kind of a silly question, but I cannot find the answer as I don't know the terms with which to search for it.
I am looking for a simple way of giving a 'status' message like 'Data updated' to the user without necessarily interrupting what he/she is doing (but have a option I guess in some instances to tab it an perform an action).
For example; some Apps give a rounded square semi-transparent with 'Lock screen/rotation' when an iPhone is rotated, I am look for something similar (or like the square box 'Build Complete in Xcode 4').
Is there an easy way of doing this?
Thanks a million in advance!
https://github.com/myell0w/MTStatusBarOverlay
MTStatusBarOverlay adds very subtle text to the phone's status bar. If you're looking for something a little more noticiable, try:
https://github.com/jdg/MBProgressHUD
As #kubi has pointed out, MTStatusBarOverlay is a good one, and I've passed Apple reviewer inspection with it. However I just found something that looks fraking awesome...
Tweetbot-Like Alert Panels (Blog), and the repository is MKInfoPanelDemo at Github.
Create a view that shows your message nicely, add it to the window, and start a UIView animation which makes it fade away. In the animation ended handler (delegate or block) remove the view.

How to Create the Highlight/Note Popup Buttons from the iPhone Kindle

I am wondering how Amazon did the highlight/note popup buttons in the Kindle app. After reading about UIPasteboard, UIMenuController, UIResponder, and UIResponderStandardEditActions, I am able to turn on or off standard edit actions (i.e. copy, cut, paste, select, and selectAll). However I haven't found a way to add a custom action yet. I would really appreciate it if I could get a pointer.
Thanks in advance!
Chris
(source: sampletheweb.com)
Edited by balexandre (added image instead link)
It looks like Amazon implemented their own custom view that mimicked the appearance of UIMenuController. I believe they did this rather than use SPI because if you click and hold on the Highlight cell, the arrow does not highlight, when it does in the real UIMenuController.
I don’t think there is a public interface to these controls, you’d probably have to code them yourself. (Or maybe figure out the private API, but that’s a slippery slope.) I am not sure about that, though, maybe somebody will prove me wrong.
That's a good point about the arrow part of the Notes/Highlight popup menu not highlighting, so they must be implementing their own.
However they are also obviously using a UIWebView, because it's recognizing tap and hold and they can highlight the text, and you can't get touch events from a UIWebView, much less get the information about what's selected. So how are they doing that?
This would be very useful for us to be able to do as well.
Use DTMenuController http://www.drobnik.com/touch/2010/01/dr-touchs-parts-store/
Costs 100 EUR ^_^
Custom menu items can be added via the UIMenuController's menuItems property. See Apple's UIMenuController docs.
the javascript part can be managed with jQuery, that's a fair simple and powerful library. i'm using it for resizing and rearranging things in a webview and it works great :)