Reputation: 115
How do I modify the height, background, margin and padding of the statusbar in Codename one?
It looks very bad.
Upvotes: 1
Views: 73
Reputation: 1407
As Diamond said, you should modify UIIDs StatusBar and StatusBarSideMenu. The way to do that is the following:
Then call .setUIID() method on the component on which you want to do that. Note that components by default get UIID, for example Label has UIID "Label" and so on, so you won't need to call setUIID.
Upvotes: 2
Reputation: 7483
Don't base the look of the statusbar on simulator output, this will be different from the looks on real devices.
If you want to style the statusbar, modify UIIDs StatusBar and StatusBarSideMenu to your desire.
Upvotes: 2