summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorronso0 <ronso0@mixxx.org>2021-04-09 01:25:20 +0200
committerronso0 <ronso0@mixxx.org>2021-04-13 18:24:42 +0200
commit4ca1c0219e3a5c7bdbf5e00206b46b9b0546338c (patch)
tree579f2b6c66e259dd62d6c3dcdff7ef78f79d79ac
parent07601cb8835b3893d3bb8007097844809bce6154 (diff)
LateNight: expand responsive area of sampler expand button
-rw-r--r--res/skins/LateNight/samplers/sampler_expand_button.xml19
1 files changed, 17 insertions, 2 deletions
diff --git a/res/skins/LateNight/samplers/sampler_expand_button.xml b/res/skins/LateNight/samplers/sampler_expand_button.xml
index d382c63a8c..dc8c2787ca 100644
--- a/res/skins/LateNight/samplers/sampler_expand_button.xml
+++ b/res/skins/LateNight/samplers/sampler_expand_button.xml
@@ -5,11 +5,26 @@
<Children>
<WidgetGroup>
<ObjectName>SamplerExpandBox</ObjectName>
- <SizePolicy>min,me</SizePolicy>
- <Layout>vertical</Layout>
+ <SizePolicy>max,me</SizePolicy>
+ <Layout>stacked</Layout>
<Children>
<PushButton>
<TooltipId>show_samplers</TooltipId>
+ <ObjectName>SamplerExpandOverlay</ObjectName>
+ <Size>16f,36me</Size>
+ <NumberStates>2</NumberStates>
+ <State>
+ <Number>0</Number>
+ </State>
+ <State>
+ <Number>1</Number>
+ </State>
+ <Connection>
+ <ConfigKey>[LateNight],expand_samplers_<Variable name="SamCount"/></ConfigKey>
+ <ButtonState>LeftButton</ButtonState>
+ </Connection>
+ </PushButton>
+ <PushButton>
<ObjectName>SamplerExpand</ObjectName>
<Size>16f,36f</Size>
<NumberStates>2</NumberStates>