Ticket #32183

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

Open Date: 2013-10-06 01:02 Last Update: 2013-10-16 17:52

Reporter:
Owner:
(None)
Type:
Status:
Closed
Component:
(None)
MileStone:
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
None
File:
None

Details

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
Comment

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

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

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

Attachment File List

No attachments

Edit

Please login to add comment to this ticket » Login