I have a segment control with 5 segments. I need custom images to be shown on each segment for selected and deselected each.
Problem
The problem is when I place image programmatically on selection of segment I get default blue color on the left side of the segments
This seems to be a bug found in iOS6 at the moment. The solution is to change the segmentedControlStyle of the UISegmentedControl to UISegmentedControlStyleBar and set the momentary property to YES.
UISegmentedControl image highlighting bug in iOS6
I finally found a workaround. I changed the UISegmentControl style to Bar and set state Momentary to YES which removed the default blue color on selection. I guess this is a bug in iOS6. Found the solution from another stack overflow question. Thanks to verbumdei
Related
How do I get an up/down arrow adjustmnet like in this image instead of the +/- adjustments. I didn't see anything the the spinbutton documentation addressing this.
You image is old school GTK (probably from GTK2). If you look at the widgets gallery from GTK3 and GTK4, you will see that the spin button has changed looks.
Looking at the different options in Glade, I found that GtkSpinButton inherits from GtkOrientable. You can set orientation to be either horizontal or vertical. I tried both options in Glade and neither gives the result you are looking for.
Vertical
Horizontal
In both cases, you have those -/+ you want to get rid of.
So to answer your question, sadly : no.
I've added the "Launch program" checkbox on the final card of the installer, but for some reason WiX is placing the checkbox below the custom bitmap instead of on top of it with the other text. Can someone point me in the right direction to getting the checkbox directly below the other text instead of below the background image?
I followed the tutorial on this page to add the checkbox: https://wixtoolset.org/documentation/manual/v3/howtos/ui_and_localization/run_program_after_install.html
I came across this page on the WiX toolset docs. Basically, it says that the checkbox with the grey background is a common complaint and there's a workaround mentioned, but not a way to remove the background.
And a common complaint: no, the checkbox can't have a transparent background. If you have a bitmap in the background, it will be ugly, just like in our example above. The only workaround is to reduce the width of the checkbox to the actual box itself and to place an additional static text (these can be made transparent) adjacent to it.
EDIT (for completeness): It looks like my initial guess on what was going on with the bitmap image wasn't accurate, based on the above-quoted page. Closing this as answered.
I don't want to hide time, but want to use full screen
In the storyboard on the interface controller settings I set the checkbox "Full Screen" and "Fixed to screen edges" to ON.
In the storyboard I can see the full screen mode is working and the WKInterfaceGroup is scaled to the entire display.
But unfortunately on the watch device/simulator it does not work.
The group has alignment center/center OR center/top and width and height are set to "Relative to Container"
How can I really use the full screen mode?.
I just have to add a label equal to Time in top black space. I want to show some text here. I have seen this in some other apps, They are using this space. Even in Apple design guide lines docs, they use this space. I am adding these reference screenshots also.
In above pictures, you can see they used this top space for titles. I also want to add a label to show some text equal to time.
Any help would be greatly appreciated.
This is a really weird bug. After digging around I've found a way to fill the whole screen. It's not pretty but I'm consistently getting full screen if i'm adding a sprite kit scene into a "main group". Again; it's not an elegant fix but it works and isn't really that resource intensive. Hope this works for you too!
I'm trying to resolve for my self the issue stated in this post from 2011:
https://bugreports.qt.io/browse/QTBUG-19008
Using the stylesheet approach does not work however.
What I would like to do (regarding my own GUI project) is ensure that the images on any disabled QLabels appears the same as when those QLabels are enabled.
Any help in resolving this particular problem would be awesome. Thanks.
Ok. So disabling the GUI is a problem if you have custom graphics for all the widgets because mid-grey boxes appear everywhere. So what is the solution?
Ekhumoro has provided one solution but here is another:
If you are using Animated GIFs there is no problem - they won't turn mid-grey.
If you are using static images (PNGs) all you have to do is make sure the background is transparent so that only the visible image will turn mid-grey for the duration that those graphics are disabled.
This may not be elegant but it is a workaround that can be considered.
This is similar to the "Blinking Browser Application in taskbar".
It has been mentioned that "Title" ought to be changed to have a blinking effect. But there is nothing mentioned about color change.
Is it not window's own property to blink with the usual "orange" color if title or anything is changed?
Please help.
https://web.archive.org/web/20120716063324/http://www.bobpowell.net/flashbar.htm - I found out the solution for my question.
Many others have written like the one found in this blog.