Skip to content
Snippets Groups Projects
Commit a908c20d authored by Nikolai Mork's avatar Nikolai Mork
Browse files

Merge branch 'midtstill-modul-overskrifter-øk-bilde-størrelse' into 'master'

#163 Midtstill moduloverskrifter, øk modulbilde-størrelse

See merge request !94
parents 08e6d32b fd7eebcd
No related branches found
No related tags found
1 merge request!94#163 Midtstill moduloverskrifter, øk modulbilde-størrelse
Pipeline #83971 passed with stages
in 2 minutes and 28 seconds
soitool/media/codephrasemodule.png

11.8 KiB | W: | H:

soitool/media/codephrasemodule.png

12 KiB | W: | H:

soitool/media/codephrasemodule.png
soitool/media/codephrasemodule.png
soitool/media/codephrasemodule.png
soitool/media/codephrasemodule.png
  • 2-up
  • Swipe
  • Onion skin
soitool/media/freetextmodule.png

4.52 KiB | W: | H:

soitool/media/freetextmodule.png

4.53 KiB | W: | H:

soitool/media/freetextmodule.png
soitool/media/freetextmodule.png
soitool/media/freetextmodule.png
soitool/media/freetextmodule.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -80,8 +80,13 @@ class CodePhraseModule(ModuleBase, QWidget, metaclass=Meta):
self.line_edit_header = LineEditWithSizeOfContent("KODEFRASER")
self.line_edit_header.setFont(self.headline_font)
self.line_edit_header.setAlignment(Qt.AlignCenter)
self.table = TableWithSizeOfContent(0, 2)
self.table.setFont(DEFAULT_FONT)
self.table.setStyleSheet(
"QTableView { gridline-color: black; }"
"QHeaderView::section { border: 1px solid black }"
)
# Qt should let this widget be exactly the size of it's sizeHint
self.setSizePolicy(QSizePolicy.Fixed, QSizePolicy.Fixed)
......
......@@ -43,6 +43,7 @@ class FreeTextModule(ModuleBase, QWidget, metaclass=Meta):
self.line_edit_header = LineEditWithSizeOfContent()
self.line_edit_header.setFont(self.headline_font)
self.line_edit_header.setAlignment(Qt.AlignCenter)
self.text_edit_body = TextEditWithSizeOfContent()
self.text_edit_body.setFont(DEFAULT_FONT)
......
......@@ -75,9 +75,9 @@ class NewModuleDialog(AcceptRejectDialog):
self.list_module_choices = QListWidget()
self.list_module_choices.setViewMode(QListWidget.IconMode)
self.list_module_choices.setIconSize(QSize(100, 100))
self.list_module_choices.setIconSize(QSize(125, 125))
self.list_module_choices.setResizeMode(QListWidget.Adjust)
self.list_module_choices.setMinimumSize(345, 315)
self.list_module_choices.setMinimumSize(430, 400)
for i, module_choice in enumerate(module_choices):
self.list_module_choices.insertItem(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment