Button Border design not showing on simulator - codenameone

Hi and compliments of the season, I'm designing an interface using GUI Builder. The interface has four buttons. I set the UIID to Button. Now the problem is when i run the app on simulator the button design is not showing. I can only see the text on each button.
Please kindly help me on this and check the attached picture for more clarification.
Best Regards,
Yahya-Imam Munir Kolapo

In the designer tool menu bar select Native Theme->iOS->iOS 7.
Buttons won't show in the designer either. iOS 7 style doesn't show button borders (flat design) this was a feature of iOS 6 or older. You can cut your own 9-piece borders as Diamond mentioned.

Related

how to specify the gtk+ combobox position popup

I use glade and GTK to design the interface of my application.
My question is about the position of the popup associated with a GtkComboBox.
My popup appears horizontally under the GtkComboBox but vertically centered.
Gnome Developper says "The style in which the selected value is displayed, and the style of the popup is determined by the current theme".
How can I know that theme and where I can fix it for a popup.
I have noticed that from fresh start (power up) the popup in glade is attached to the ComboBox.
It is only after starting my application that the issue of vertically centered popup appears. It appears in the app, but also in glade itself!
I don't have the faintest idea on where to search for the issue.
Pierre
I found the cause of the issue.
Not GTK+ nor my application SW.
I use a SW keyboard and it is it which modify the windows current theme!
Why I don't know. But clearly the issue appears when this keyboard is on the screen.
It is "matchbox-keyboard".

How to get button default style under windows 10?

Looking to my first steps with WPF on Windows 7 I was very pleased. Seeing it on Windows 10 I was very surprised. The buttons didn`t looks like expected. Trying it with WinForms results in the expected look an feel.
Here my problem:
So my question:
How can I get the "normal" style of the default button (OK has IsDefault=true) with the expanded blue border for the button even when it has focus, without defining the button-style myself?
This is very important in case of setting the focus to the Cancel-button programmatically, because in this case the dotted border will not be displayed, so on Win 10 the user can not know witch button will be pressed by enter.
You can get similar button styles using Windows UWP.
In WPF, you can check out the Modern UI(MUI) in MSDN site.
It can produce similar results. I have been working with mui for a couple of months and it really helped me to satisfy my client who wanted to have a Windows 10 like UI experience. I had to create tiles like in start menu also. MUI did a great job for me.
Get the MUI from Github. Modern UI for WPF
Also I had tried devexpress and telerik controls. Have a look at them too.

Textbox and Combo box not showing background color from theme

I have a project in the play store created with version 3.2 at end of October. Today I rebuilt the project to add new features. When I deployed it to Android I noticed the following 4 issues.
1. The push notification icon is a solid white square. It was my icon in the past.
2. The initial screen form is incorrect as it goes into the android soft buttons at the bottom of the page.
3. The theme for my combo box is not showing. Just see thru to background.
4. The text field background is also just using the background instead of the white.
I tried building in latest, 3.2 and 3.1 with no differences. I reverted all code to the release in October with no help.
I submitted the IOS build and everything is fine.
The simulator shows everything is fine.
I tried many times to figure out why this is happening and have not been able to.
I need 10 reputation points to post more than 2 links so, I'm only showing 2 screen shots. Let me know if you want the others.
Please see the following:
This image shows the edit and dropdown issue
This is the current play store version of the edit and dropdown
Any ideas on how can I fix these issues? For the text field I use my own style (it does get the boarder but not the background). The notification icon, I don't see how anything I can do would affect this.
Thank you
Sam
-- Edited --
I did manage to get these working again.
I was setting the background color using the theme background tab and setting a gradient with upper and lower the same color. I changed this to NONE, then in the color tab set the background color.
Notification needed a new icon as specified by Chen. In my case the app icon is basically a square and doesn't transfer well to a notification icon.
The last was the nexus 9 initial screen painting into the bottom navigation control. This is still happening and is easily reproduced by making a new hello world codename one app with no changes.
Are you using the android.asyncPaint=false build hint?
I understand some issues occurred with it although I doubt you would see them if you are using the versioned build.
Setting the background color using the theme background tab and setting a gradient with upper and lower the same color didn't work.
Change this to NONE, then in the color tab set the background color.

WPF popup title bar coming alway in white background in Windows 10

Anyone have any idea how to change the messagebox title bar color to the default in windows 10 (looking for the default like in windows 8 or older). At present it is coming as white.
I am also searching for a solution. But I'm afraid that at the moment only UWP supports this feature. Not WPF.
What you could do is hiding the tilte bar and making a custom one.
Similar answer: https://stackoverflow.com/a/9978757/3319147

Image Icons like Macbook in WPF

I am looking for very simple UI; with three Image Icons on Bottom of the screen. And when user hovers over that Image Icon it pops out and come bigger then normal size when no mouse over the Image.
Exactly like Mac where they have list of Icons on the bottom and when you hover over one Icon it stands out and when you click on it it opens respective application...
How can I do this in WPF C# ?
Or if you can direct me to existing example/code etc ?
Thanks
You are looking for Fish Eye Effect in WPF.
Here is a good article from CodeProject:
FishEyePanel/FanPanel - Examples of custom layout panels in WPF
I wrote this user control that would mimic the dashboard of the Mac's (Fish eye effect).

Resources