Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

To make the Toolbar look native in Ubuntu (like the application in this video: https://www.youtube.com/watch?feature=player_embedded&v=sO8hiPreNBg), I don't want to show a border.

In my main window of my application I am able to set the property for the border width to zero on the GtkBox under tab "common". But on a dialog (created via quickly add dialog) there is no option on the GtkBox to set the property under "common". The property for the border width sill not appears under common!

What can I do to solve this problem? I tried to create a Window-Element and tried to delete the Dialog-Element. Result: Then I was able to set this property in Glade but I could not do anything with the Window-Element and its Child-Elements (e.g. set the native look for its toolbar) in the corresponding .py-File (for the ui-File) because I destroyed dependencies...

share|improve this question
Could you be more specific and perhaps add some screenshots? What border are you exactly referring to? What Gtk.Box does not allow you to set the border? This will give us more information and enable us to better help you. Thanks! – David Planella Jul 5 '12 at 9:10
@DavidPlanella Here are 2 screenshots. One with the gap (where I am note able to set the border width to zero in glade) dl.dropbox.com/u/5694459/gap.png . And here is the main window. (no gap) dl.dropbox.com/u/5694459/no_gap.png - How can I change the dialog, that it does not show a gap as the main window? – Marian Lux Oct 25 '12 at 21:00

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.