Is it an option to seperate the text from the boolean slider with a layoutgrid or table?
That is one option that I tried but the boolean slider requires some text to be in the True and False fields. I could look into adding a single character and styling that character to where it is not visible but is just a workaround. I know it's possible to move it and I'm sure it is not easy but I would like to learn.
Adding float:right to the parent div works on my machine without throwing of the text.
Edited this in the inspector-F12 in Chrome:
<div class="wgt-BooleanSlider mx-name-booleanSlider1" id="BooleanSlider_widget_BooleanSlider_2" data-mendix-id="0_10" focusindex="0" widgetid="BooleanSlider_widget_BooleanSlider_2" style="float: right; display: block;">
<div class="wgt-BooleanSlider_control form-control btn btn-primary" data-dojo-attach-point="controlNode">
<input type="checkbox" class="wgt-BooleanSlider__input" data-dojo-attach-point="inputNode" checked="">
<div class="wgt-BooleanSlider__toggle">
<span class="wgt-BooleanSlider__toggletrue" data-dojo-attach-point="trueNode">Yes</span>
<span class="wgt-BooleanSlider__togglefalse" data-dojo-attach-point="falseNode">No</span>
</div>
</div>
</div>
Does that perhaps work for you as well?