YF-GoogleCodeBackups / firefox-hide-caption-titlebar-plus

Automatically exported from code.google.com/p/firefox-hide-caption-titlebar-plus
0 stars 0 forks source link

How to reduce the space "reserved" for min/max/close buttons with FF 13? #200

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. hiding min/max/close buttons (via userChrome)
2. hiding the Menu Bar, tabs not on top, no caption

What is the expected output and What do you see instead?

The space in the upper right corner of the chrome or of the uppermost bar 
enabled respectively, originally reserved for the min/max/close buttons, 
shouldn't be as wide. Even with the buttons showing, the space is about twice 
as wide as needed for the buttons. Thus, hiding the buttons leaves quite a gap 
in that corner (see picture 1). With the option to use htcp's custom buttons 
disabled (including hiding them either way) and a CSS-based workaround like 
mine in mind, I would expect this reserved space to collapse to at least half 
its size or even get removed completely (see picture 2).

This is the CSS hiding the buttons:
.titlebar-placeholder[type="caption-buttons"], #titlebar-min, #titlebar-max, 
#restore-button, #titlebar-close { display: none !important; }

How could I go about reducing the size of that gap?

What version of "Hide Caption Titlebar Plus" addon are you using?
2.6.0

What version of Firefox?
13.0.1

On what operating system?
Windows XP Pro/32bit

Mozilla/5.0 (Windows NT 5.1; rv:13.0) Gecko/20100101 Firefox/13.0.1

(2nd picture isn't even shopped. Reducing the browser's size below a certain 
threshold would always cause the bars to get cut off for some reason. Similar 
to this, opening my bookmarks or history side-bar would cause all bars' 
contents to get displaced to the right side and outside the chrome's visible 
area. Does this seem worth creating a separate ticket?)

Original issue reported on code.google.com by harl.win...@gmail.com on 17 Jul 2012 at 12:01

Attachments:

GoogleCodeExporter commented 9 years ago
Hi.

Have a look on this 
http://userstyles.org/styles/66071/hctp-titlebar-button-box-fix and click on 
"Show code" button, the 3 last rules should be useful for you (with 0px values).

Original comment by strel...@gmail.com on 13 Sep 2012 at 2:08

GoogleCodeExporter commented 9 years ago
Thanks for bringing this to my attention. :)
Only needed to change it from #toolbar-menubar to #nav-bar so that it affects 
the navigation bar which is my uppermost bar. (The menu bar has style issues as 
it doesn't seem to utilise the same ways of styling buttons as the other bars.)

Original comment by harl.win...@gmail.com on 15 Sep 2012 at 2:16

GoogleCodeExporter commented 9 years ago
It's your lucky day, check the link again 
http://userstyles.org/styles/66071/hctp-titlebar-button-box-fix

Original comment by strel...@gmail.com on 19 Sep 2012 at 4:47