Skip to content

Commit

Permalink
Checkbox4 Add missing MinSize
Browse files Browse the repository at this point in the history
Signed-off-by: Noel Power <noel.power@suse.com>
  • Loading branch information
noelpower committed Feb 8, 2023
1 parent fc0b403 commit e6cfcdb
Showing 1 changed file with 31 additions and 29 deletions.
60 changes: 31 additions & 29 deletions examples/Tree-Checkbox4.py
Expand Up @@ -12,35 +12,37 @@ def main(self):


UI.OpenDialog(
VBox(
Heading("YaST2 Mini Control Center"),
Tree(
Id("mod"),
Opt("multiSelection", "notify", "immediate", "recursiveSelection"),
"Modules",
[
Item(Id("unselected"), "Unseleted"),
Item(
Id("country"),
"Localization",
True,
[
Item(Id("keyboard"), "Keyboard"),
Item(
Id("timezone"),
"Time zone",
True,
[Item(Id("europe"), "Europe"), Item(Id("asia"), "Asia")]
)
]
),
Item(Id("mouse"), "Mouse"),
Item(Id("lan"), "Network"),
Item(Id("xmas"), "Merry X-Mas"),
Item(Id("newyear"), "Happy New Year")
]
),
PushButton(Id("ok"), Opt("default"), "&OK")
MinSize( 40, 15,
VBox(
Heading("YaST2 Mini Control Center"),
Tree(
Id("mod"),
Opt("multiSelection", "notify", "immediate", "recursiveSelection"),
"Modules",
[
Item(Id("unselected"), "Unseleted"),
Item(
Id("country"),
"Localization",
True,
[
Item(Id("keyboard"), "Keyboard"),
Item(
Id("timezone"),
"Time zone",
True,
[Item(Id("europe"), "Europe"), Item(Id("asia"), "Asia")]
)
]
),
Item(Id("mouse"), "Mouse"),
Item(Id("lan"), "Network"),
Item(Id("xmas"), "Merry X-Mas"),
Item(Id("newyear"), "Happy New Year")
]
),
PushButton(Id("ok"), Opt("default"), "&OK")
)
)
)

Expand Down

0 comments on commit e6cfcdb

Please sign in to comment.