Browse Source

set vertical alignment to start

CPP-GTK4
yggverse 3 months ago
parent
commit
c240c9faee
  1. 4
      src/app/browser/main/tab/page/content/text/gemini.cpp
  2. 1
      src/app/browser/main/tab/page/content/text/gemini.hpp
  3. 4
      src/app/browser/main/tab/page/content/text/plain.cpp
  4. 1
      src/app/browser/main/tab/page/content/text/plain.hpp

4
src/app/browser/main/tab/page/content/text/gemini.cpp

@ -5,6 +5,10 @@ using namespace app::browser::main::tab::page::content::text;
Gemini::Gemini( Gemini::Gemini(
const Glib::ustring & GEMTEXT const Glib::ustring & GEMTEXT
) { ) {
set_valign(
Gtk::Align::START
);
set_wrap( set_wrap(
true true
); );

1
src/app/browser/main/tab/page/content/text/gemini.hpp

@ -2,6 +2,7 @@
#define APP_BROWSER_MAIN_TAB_PAGE_CONTENT_TEXT_GEMINI_HPP #define APP_BROWSER_MAIN_TAB_PAGE_CONTENT_TEXT_GEMINI_HPP
#include <glibmm/ustring.h> #include <glibmm/ustring.h>
#include <gtkmm/enums.h>
#include <gtkmm/label.h> #include <gtkmm/label.h>
namespace app::browser::main::tab::page::content::text namespace app::browser::main::tab::page::content::text

4
src/app/browser/main/tab/page/content/text/plain.cpp

@ -5,6 +5,10 @@ using namespace app::browser::main::tab::page::content::text;
Plain::Plain( Plain::Plain(
const Glib::ustring & TEXT const Glib::ustring & TEXT
) { ) {
set_valign(
Gtk::Align::START
);
set_wrap( set_wrap(
true true
); );

1
src/app/browser/main/tab/page/content/text/plain.hpp

@ -2,6 +2,7 @@
#define APP_BROWSER_MAIN_TAB_PAGE_CONTENT_TEXT_PLAIN_HPP #define APP_BROWSER_MAIN_TAB_PAGE_CONTENT_TEXT_PLAIN_HPP
#include <glibmm/ustring.h> #include <glibmm/ustring.h>
#include <gtkmm/enums.h>
#include <gtkmm/label.h> #include <gtkmm/label.h>
namespace app::browser::main::tab::page::content::text namespace app::browser::main::tab::page::content::text

Loading…
Cancel
Save