Kaydet (Commit) 06292e61 authored tarafından Caolán McNamara's avatar Caolán McNamara

set font boxes to be sorted

Change-Id: Iebd6ce2c210ccc56a72d6a59171015b9729e9b73
üst 5c7570be
...@@ -152,7 +152,6 @@ ...@@ -152,7 +152,6 @@
#define HID_ENV_ENV "SW_HID_ENV_ENV" #define HID_ENV_ENV "SW_HID_ENV_ENV"
#define HID_ENV_FMT "SW_HID_ENV_FMT" #define HID_ENV_FMT "SW_HID_ENV_FMT"
#define HID_FRM_URL "SW_HID_FRM_URL" #define HID_FRM_URL "SW_HID_FRM_URL"
#define HID_STD_FONT "SW_HID_STD_FONT"
#define HID_COND_COLL "SW_HID_COND_COLL" #define HID_COND_COLL "SW_HID_COND_COLL"
#define HID_FRM_ADD "SW_HID_FRM_ADD" #define HID_FRM_ADD "SW_HID_FRM_ADD"
......
...@@ -536,14 +536,19 @@ SwStdFontTabPage::SwStdFontTabPage( Window* pParent, ...@@ -536,14 +536,19 @@ SwStdFontTabPage::SwStdFontTabPage( Window* pParent,
{ {
get(pLabelFT,"label1"); get(pLabelFT,"label1");
get(pStandardBox,"standardbox"); get(pStandardBox,"standardbox");
pStandardBox->SetStyle(pStandardBox->GetStyle() | WB_SORT);
get(pStandardHeightLB,"standardheight"); get(pStandardHeightLB,"standardheight");
get(pTitleBox,"titlebox"); get(pTitleBox,"titlebox");
pTitleBox->SetStyle(pTitleBox->GetStyle() | WB_SORT);
get(pTitleHeightLB,"titleheight"); get(pTitleHeightLB,"titleheight");
get(pListBox,"listbox"); get(pListBox,"listbox");
pListBox->SetStyle(pListBox->GetStyle() | WB_SORT);
get(pListHeightLB,"listheight"); get(pListHeightLB,"listheight");
get(pLabelBox,"labelbox"); get(pLabelBox,"labelbox");
pLabelBox->SetStyle(pLabelBox->GetStyle() | WB_SORT);
get(pLabelHeightLB,"labelheight"); get(pLabelHeightLB,"labelheight");
get(pIdxBox,"idxbox"); get(pIdxBox,"idxbox");
pIdxBox->SetStyle(pIdxBox->GetStyle() | WB_SORT);
get(pIndexHeightLB,"indexheight"); get(pIndexHeightLB,"indexheight");
get(pDocOnlyCB,"doconly"); get(pDocOnlyCB,"doconly");
......
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<interface> <interface>
<!-- interface-requires gtk+ 3.0 --> <!-- interface-requires gtk+ 3.0 -->
<!-- interface-requires LibreOffice 1.0 -->
<object class="GtkBox" id="OptFontTabPage"> <object class="GtkBox" id="OptFontTabPage">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="hexpand">True</property>
<property name="vexpand">True</property>
<property name="border_width">6</property>
<property name="orientation">vertical</property> <property name="orientation">vertical</property>
<property name="spacing">12</property> <property name="spacing">12</property>
<child> <child>
...@@ -93,6 +97,7 @@ ...@@ -93,6 +97,7 @@
<object class="GtkLabel" id="font_label"> <object class="GtkLabel" id="font_label">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="hexpand">True</property>
<property name="xalign">0</property> <property name="xalign">0</property>
<property name="label" translatable="yes">Font</property> <property name="label" translatable="yes">Font</property>
</object> </object>
...@@ -206,7 +211,6 @@ ...@@ -206,7 +211,6 @@
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="receives_default">False</property> <property name="receives_default">False</property>
<property name="margin_left">12</property> <property name="margin_left">12</property>
<property name="hexpand">True</property>
<property name="use_underline">True</property> <property name="use_underline">True</property>
<property name="xalign">0</property> <property name="xalign">0</property>
<property name="draw_indicator">True</property> <property name="draw_indicator">True</property>
...@@ -222,13 +226,14 @@ ...@@ -222,13 +226,14 @@
<object class="GtkComboBoxText" id="standardbox"> <object class="GtkComboBoxText" id="standardbox">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="hexpand">True</property>
<property name="has_entry">True</property> <property name="has_entry">True</property>
<property name="entry_text_column">0</property> <property name="entry_text_column">0</property>
<property name="id_column">1</property> <property name="id_column">1</property>
<child internal-child="entry"> <child internal-child="entry">
<object class="GtkEntry" id="standardbox-entry"> <object class="GtkEntry" id="standardbox-entry">
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="invisible_char">��</property> <property name="invisible_char"></property>
</object> </object>
</child> </child>
</object> </object>
...@@ -243,13 +248,14 @@ ...@@ -243,13 +248,14 @@
<object class="GtkComboBoxText" id="titlebox"> <object class="GtkComboBoxText" id="titlebox">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="hexpand">True</property>
<property name="has_entry">True</property> <property name="has_entry">True</property>
<property name="entry_text_column">0</property> <property name="entry_text_column">0</property>
<property name="id_column">1</property> <property name="id_column">1</property>
<child internal-child="entry"> <child internal-child="entry">
<object class="GtkEntry" id="titlebox-entry"> <object class="GtkEntry" id="titlebox-entry">
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="invisible_char">��</property> <property name="invisible_char"></property>
</object> </object>
</child> </child>
</object> </object>
...@@ -264,13 +270,14 @@ ...@@ -264,13 +270,14 @@
<object class="GtkComboBoxText" id="listbox"> <object class="GtkComboBoxText" id="listbox">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="hexpand">True</property>
<property name="has_entry">True</property> <property name="has_entry">True</property>
<property name="entry_text_column">0</property> <property name="entry_text_column">0</property>
<property name="id_column">1</property> <property name="id_column">1</property>
<child internal-child="entry"> <child internal-child="entry">
<object class="GtkEntry" id="listbox-entry"> <object class="GtkEntry" id="listbox-entry">
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="invisible_char">��</property> <property name="invisible_char"></property>
</object> </object>
</child> </child>
</object> </object>
...@@ -285,13 +292,14 @@ ...@@ -285,13 +292,14 @@
<object class="GtkComboBoxText" id="labelbox"> <object class="GtkComboBoxText" id="labelbox">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="hexpand">True</property>
<property name="has_entry">True</property> <property name="has_entry">True</property>
<property name="entry_text_column">0</property> <property name="entry_text_column">0</property>
<property name="id_column">1</property> <property name="id_column">1</property>
<child internal-child="entry"> <child internal-child="entry">
<object class="GtkEntry" id="labelbox-entry"> <object class="GtkEntry" id="labelbox-entry">
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="invisible_char">��</property> <property name="invisible_char"></property>
</object> </object>
</child> </child>
</object> </object>
...@@ -306,13 +314,14 @@ ...@@ -306,13 +314,14 @@
<object class="GtkComboBoxText" id="idxbox"> <object class="GtkComboBoxText" id="idxbox">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="hexpand">True</property>
<property name="has_entry">True</property> <property name="has_entry">True</property>
<property name="entry_text_column">0</property> <property name="entry_text_column">0</property>
<property name="id_column">1</property> <property name="id_column">1</property>
<child internal-child="entry"> <child internal-child="entry">
<object class="GtkEntry" id="idxbox-entry"> <object class="GtkEntry" id="idxbox-entry">
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="invisible_char">��</property> <property name="invisible_char"></property>
</object> </object>
</child> </child>
</object> </object>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment