]> git.lyx.org Git - features.git/commitdiff
Beamer's Alternative: AutoInsert both arguments
authorScott Kostyshak <skostysh@lyx.org>
Tue, 6 Apr 2021 15:55:01 +0000 (11:55 -0400)
committerScott Kostyshak <skostysh@lyx.org>
Tue, 6 Apr 2021 16:20:08 +0000 (12:20 -0400)
The "Default Text" argument is usually non-blank. If the user
desired to leave it blank, it seems that "Invisible" would be a
better choice.

Similarly, an action is usually specified for this layout to be
useful.

lib/layouts/beamer.layout

index a26c409783cb29c8f0f4b99369f97b8b8a920edc..c2acbf56c3940586a9a3e04a0430e290d26031d3 100644 (file)
@@ -1638,11 +1638,13 @@ InsetLayout Flex:Alternative
     LeftDelim      <
     RightDelim     >
     PassThru       1
+    AutoInsert     1
   EndArgument
   Argument 2
     LabelString    "Default Text"
     Tooltip        "Enter the default text here"
     Mandatory      1
+    AutoInsert     1
   EndArgument
   ResetsFont       true
   CustomPars       false