Skip to content

Commit

Permalink
_StyleSheet : Add 2px vertical margin to EditScopePlugValueWidget
Browse files Browse the repository at this point in the history
This margin is necessary to balance the widget vertically when it is used
in the MenuBar.
  • Loading branch information
murraystevenson committed Nov 19, 2024
1 parent d2ffd1e commit abc11d9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/GafferUI/_StyleSheet.py
Original file line number Diff line number Diff line change
Expand Up @@ -1538,6 +1538,8 @@ def styleColor( key ) :
border-top-color: rgb( 75, 113, 155 );
border-left-color: rgb( 75, 113, 155 );
background-color : qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgb( 69, 113, 161 ), stop: 0.1 rgb( 48, 99, 153 ), stop: 0.90 rgb( 54, 88, 125 ));
margin-top: 2px;
margin-bottom: 2px;
}
*[gafferClass="GafferSceneUI.InteractiveRenderUI._ViewRenderControlUI"] QPushButton[gafferWithFrame="true"] {
Expand Down

0 comments on commit abc11d9

Please sign in to comment.