Cannot edit button labels in Glade 3.14.0 - linux

I cannot edit the buttons label in glade. They are disabled. How can i fix this? Here is the screen shot;

This has been answered here. In summary, you now need to add a Related Action and disable Use Action Appearance to be able to edit a button's label in Glade.

In addition to what David Planella added above, you can also open the .glade file using a text editor and manually edit the label text. I just tried it and it works.

Related

Change Text Highlight Color in Eclipse Console

Question
Is it at all possible to change the color of the text highlight in Eclipse console to something more visible in Manjaro Linux? Your time and help are both much appreciated.
Important notes
I am using the default GTK theme. I do not want to use a different theme.
For testing, I have tried using a different theme, but that didn't help.
Problem
Currently, I am stuck with a barely visible light grey text selection in Eclipse console in the following two scenarios:
When manually selecting text
When using the Find\Replace... search function
Supporting screenshots
Manual mouse text selection:
Find/Replace... selection:
Looking into and changing these settings did not help:
I once ran into the same problem and used the gnome-color-chooser to resolve this issue.
You have to change property selected_bg_color value in your current GTK theme gtkrc file. I am using Ambiance theme.
So my setting are:
cat /usr/share/themes/Ambiance/gtk-2.0/gtkrc | more
gtk-color-scheme = "base_color:#ffffff\nfg_color:#4c4c4c\ntooltip_fg_color:#000000\nselected_bg_color:#f07746\nselected_fg_color:#FFFFFF\ntext_color:#3C3C3C\nbg_color:#F2F1F
0\ntooltip_bg_color:#f5f5c5\nlink_color:#DD4814"
Also refer these post which helps you in future for similar kinds of problems.
Change Eclipse sidebar vertical scope highlighting
eclipse-on-ubuntu-fixing-the-black-background-color-in-hover

How to edit GroupBox Lines?

I want to know if is possible to change the width or depth of feeling of a GroupBox lines created with NSIS Dialog Designer.
I have reviewed the options provided NSIS Dialog Designer and have not found anything I can use for this.
I hope it covers some style altering functions: http://forums.winamp.com/showthread.php?t=297157

Is there any way to place buttons at the menu bar of the form in lwuit

I have to set button at the bottom of screen. I am using lwuit(UI). Is there any way to place button in menu bar and I have set the command in menu bar but the command name is partially displayed why somebody help.
Thanks for your any appreciation.
If you use addCommand(new Command("Name")); this should work. Commands will only take 50% of the screen in standard mode so if your text is longer the text of the command will be cropped. You can replace the MenuBar class but that is an advanced task so I suggest not going there.

Handling for spinner on orientation change - android

I have spinner in my activity. When spinner is clicked, drop-down is shown.
Now, Change orientation. That drop-down is not maintained.
Is there any way to shown drop-down again on orientation change?
Thanks in advance.
Your question is a bit unclear to me.
Please try adding this to your <activity> in your android manifest:
android:configChanges="orientation|screenSize|keyboardHidden"
See this for details
(Some might say this is not the right way to do it, but you can use this until you find a better solution)

How do I get action buttons with custom layouts to be styled like standard action buttons in Android 3.0+

I'm having a bit of trouble with custom action buttons in the honeycomb+ action bar. I'm adding a menu item that uses a custom layout (using the android:actionLayout attribute). The reason for the custom layout is that I want a button that has two lines of text that can be updated dynamically.
However, I still want this action button to operate like the other standard buttons. By this I mean that the background fades in when the button is selected, and fades out again if it is unselected, all in the style of the platform (the colour seems to differ between different platforms/devices - I've seen both grey and blue versions)
I've tried using the action button style for the custom layout:
style="#android:style/Widget.ActionButton"
and I've tried setting the background for the custom layout to:
android:background="?android:attr/actionBarItemBackground"
but to no avail, and I'm kind of trying things fairly randomly as I can't find any documentation on how to do this (or if indeed it is even possible).
I know I can approximate this behaviour myself by setting the background, but it would be nice if I could just set the item to behave like a normal action button in terms of how it appears when the user interacts with it.
Anyone have any ideas?
Thanks in advance!
Ah, sorry to answer my own question but I have just stumbled upon a way to do this. I was halfway there - you need your custom layout's style to inherit from ActionButton:
#android:style/Widget.ActionButton
but then you also need to make the layout clickable:
android:clickable="true"
for it to work. Using both of these makes the custom action buttons look just like the regular ones when you press them.
Hopefully that'll help someone trying to do this!

Resources