Skip to content

Commit

Permalink
LateNight: make beat spinbox scaleable
Browse files Browse the repository at this point in the history
  • Loading branch information
ronso0 committed Mar 12, 2018
1 parent 073ef85 commit e37d6af
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions res/skins/LateNight/style.qss
Original file line number Diff line number Diff line change
Expand Up @@ -617,11 +617,7 @@ WEffectButtonParameter*/
WBeatSpinBox {
/* make it 2px smaller in each dimension,
border is added for final size */
min-width: 55px;
max-width: 55px;
width: 55px;
min-height: 22px;
max-height: 22px;
height: 22px;
border: 1px solid #666;
/* size of spinbox: 54x22px
Expand All @@ -633,7 +629,7 @@ WBeatSpinBox {
selection-background-color: #d2d2d2;
font-size: 13px/13px;
padding: 0px;
padding: 0px 2px 0px 1px;
padding: 1px 2px 1px 1px;
margin: 0px -1px 2px 0px;
}
WBeatSpinBox:hover {
Expand All @@ -649,10 +645,8 @@ WBeatSpinBox {
position: relative;
/* as with spinbox: border is added to size.
define it with same width as hover border, otherwise size jumps */
min-width: 18px;
max-width: 18px;
min-height: 12px;
max-height: 12px;
width: 18px;
height: 12px;
margin: 0px 0px 0px 0px;
padding: 0px;
border: 0px;
Expand All @@ -668,7 +662,7 @@ WBeatSpinBox {
}
WBeatSpinBox::down-button {
subcontrol-position: bottom right;
margin-bottom: -2px;
margin-bottom: -1px;
image: url(skin:/buttons/btn_beatbox_halve.svg) no-repeat;
}
WBeatSpinBox::down-button:pressed {
Expand Down

0 comments on commit e37d6af

Please sign in to comment.