panelMenu: Use a normal St.Bin to allow styling

Currently we don't add some style to ButtonBox like padding etc, we add
it programatically taking into account minimum padding and natural
padding. The thing is that with natural padding it works as expected
even for low resolutions.

As a design request, we need to style from css, and since the current
ButtonBox class doesn't add any worth functionality, change that and use
a simple St.Bin that allow normal styling.
This commit is contained in:
Carlos Soriano
2014-10-28 10:56:46 +01:00
parent 74a8fbfdaf
commit 3b86d23e09
4 changed files with 12 additions and 99 deletions

View File

@ -265,8 +265,7 @@ StScrollBar {
}
.panel-button {
-natural-hpadding: 12px;
-minimum-hpadding: 6px;
padding: 0px 12px;
font-weight: bold;
color: #ccc;
transition-duration: 100ms;

View File

@ -1201,8 +1201,7 @@ StScrollBar {
-panel-corner-background-color: transparent;
-panel-corner-border-color: transparent; }
#panel .panel-button {
-natural-hpadding: 12px;
-minimum-hpadding: 6px;
padding: 0px 12px;
font-weight: bold;
color: #ccc;
transition-duration: 100ms; }