WinUI: PlanEditor baut wieder (Ui.Reihe statt Ui.Zeile fuer Schalter + Text)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -216,7 +216,7 @@ public static class PlanEditor
|
|||||||
var ab = g.Abzug;
|
var ab = g.Abzug;
|
||||||
var abAn = new ToggleSwitch { IsOn = ab.An, OnContent = "", OffContent = "", MinWidth = 0 };
|
var abAn = new ToggleSwitch { IsOn = ab.An, OnContent = "", OffContent = "", MinWidth = 0 };
|
||||||
abAn.Toggled += (_, _) => Setzen(x => x with { Abzug = x.Abzug with { An = abAn.IsOn } });
|
abAn.Toggled += (_, _) => Setzen(x => x with { Abzug = x.Abzug with { An = abAn.IsOn } });
|
||||||
var abZeile = Ui.Spalte(6, Ui.Zeile(8, abAn,
|
var abZeile = Ui.Spalte(6, Ui.Reihe(8, abAn,
|
||||||
Ui.Klein(ab.An ? "Überhang wird gemeldet" : "nichts")));
|
Ui.Klein(ab.An ? "Überhang wird gemeldet" : "nichts")));
|
||||||
if (ab.An)
|
if (ab.An)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user