待辦事項 #32183

入力ジェスチャーダイアログのツリービューの幅を可変にする

啟用日期: 2013-10-06 01:02 最後更新: 2013-10-16 17:52

回報者:
負責人:
(無)
類型:
狀態:
關閉
元件:
(無)
里程碑:
優先權:
5 - 中
嚴重程度:
5 - 中
處理結果:
檔案:

細節

2013.3 で導入される「入力ジェスチャー」で、ダイアログをリサイズ可能にして、ツリービュー表示の幅を広くできるようにするパッチです。

いずれ本家に提案するので、とりあえず覚書としてチケット化します。

本当は読み上げ辞書や記号読み辞書でも同じように幅を可変化したいのですが。。

diff --git a/source/gui/settingsDialogs.py b/source/gui/settingsDialogs.py
index 2f37ed0..90b38ff 100644
--- a/source/gui/settingsDialogs.py
+++ b/source/gui/settingsDialogs.py
@@ -65,11 +65,11 @@ class SettingsDialog(wx.Dialog):
                @param parent: The parent for this dialog; C{None} for no parent.
                @type parent: wx.Window
                """
-               super(SettingsDialog, self).__init__(parent, wx.ID_ANY, self.title)
+               super(SettingsDialog, self).__init__(parent, wx.ID_ANY, self.title, style=wx.DEFAULT_FRAME_STYLE)
                mainSizer=wx.BoxSizer(wx.VERTICAL)
                self.settingsSizer=wx.BoxSizer(wx.VERTICAL)
                self.makeSettings(self.settingsSizer)
-               mainSizer.Add(self.settingsSizer,border=20,flag=wx.LEFT|wx.RIGHT|wx.TOP)
+               mainSizer.Add(self.settingsSizer,border=20,flag=wx.LEFT|wx.RIGHT|wx.TOP|wx.EXPAND)
                buttonSizer=self.CreateButtonSizer(wx.OK|wx.CANCEL)
                mainSizer.Add(buttonSizer,border=20,flag=wx.LEFT|wx.RIGHT|wx.BOTTOM)
                mainSizer.Fit(self)

Ticket History (3/3 Histories)

2013-10-06 01:02 Updated by: nishimoto
  • New Ticket "入力ジェスチャーダイアログのツリービューの幅を可変にする" created
2013-10-07 00:37 Updated by: nishimoto
評語

本件に関連して、設定ダイアログが必ず画面の中心に来るようにするパッチを本家に提案しました。

http://community.nvda-project.org/ticket/3148

2013-10-16 17:52 Updated by: nishimoto

Attachment File List

No attachments

編輯

Please login to add comment to this ticket » 登入